org.sql.generation.implementation.grammar.definition.table
Class TableConstraintDefinitionImpl

java.lang.Object
  extended by org.atp.spi.TypeableImpl<BaseInterfaceType,ActualInterfaceType>
      extended by org.sql.generation.implementation.grammar.common.SQLSyntaxElementBase<TableElement,TableConstraintDefinition>
          extended by org.sql.generation.implementation.grammar.definition.table.TableConstraintDefinitionImpl
All Implemented Interfaces:
org.atp.api.Typeable<TableElement>, TableConstraintDefinition, TableElement

public class TableConstraintDefinitionImpl
extends SQLSyntaxElementBase<TableElement,TableConstraintDefinition>
implements TableConstraintDefinition

Author:
Stanislav Muhametsin

Constructor Summary
protected TableConstraintDefinitionImpl(SQLProcessorAggregator processor, Class<? extends TableConstraintDefinition> realImplementingType, String name, TableConstraint constraint, ConstraintCharacteristics characteristics)
           
  TableConstraintDefinitionImpl(SQLProcessorAggregator processor, String name, TableConstraint constraint, ConstraintCharacteristics characteristics)
           
 
Method Summary
protected  boolean doesEqual(TableConstraintDefinition another)
           
 ConstraintCharacteristics getCharacteristics()
           
 TableConstraint getConstraint()
           
 String getConstraintName()
           
 
Methods inherited from class org.sql.generation.implementation.grammar.common.SQLSyntaxElementBase
toString
 
Methods inherited from class org.atp.spi.TypeableImpl
bothNullOrEquals, equals, getImplementedType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.atp.api.Typeable
getImplementedType
 

Constructor Detail

TableConstraintDefinitionImpl

public TableConstraintDefinitionImpl(SQLProcessorAggregator processor,
                                     String name,
                                     TableConstraint constraint,
                                     ConstraintCharacteristics characteristics)

TableConstraintDefinitionImpl

protected TableConstraintDefinitionImpl(SQLProcessorAggregator processor,
                                        Class<? extends TableConstraintDefinition> realImplementingType,
                                        String name,
                                        TableConstraint constraint,
                                        ConstraintCharacteristics characteristics)
Method Detail

doesEqual

protected boolean doesEqual(TableConstraintDefinition another)
Specified by:
doesEqual in class org.atp.spi.TypeableImpl<TableElement,TableConstraintDefinition>

getCharacteristics

public ConstraintCharacteristics getCharacteristics()
Specified by:
getCharacteristics in interface TableConstraintDefinition

getConstraint

public TableConstraint getConstraint()
Specified by:
getConstraint in interface TableConstraintDefinition

getConstraintName

public String getConstraintName()
Specified by:
getConstraintName in interface TableConstraintDefinition


Copyright © 2010-2012. All Rights Reserved.