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

java.lang.Object
  extended by org.atp.spi.TypeableImpl<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 org.atp.spi.TypeableImpl<TableElement,TableConstraintDefinition>
implements TableConstraintDefinition

Author:
Stanislav Muhametsin

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

Constructor Detail

TableConstraintDefinitionImpl

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

TableConstraintDefinitionImpl

protected TableConstraintDefinitionImpl(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-2011. All Rights Reserved.