org.sql.generation.api.grammar.definition.table
Interface TableConstraintDefinition

All Superinterfaces:
TableElement, org.atp.api.Typeable<TableElement>

public interface TableConstraintDefinition
extends TableElement

This syntax element represents the constraint definition for a table.

Author:
Stanislav Muhametsin
See Also:
TableElement, TableDefinition, TableConstraint

Method Summary
 ConstraintCharacteristics getCharacteristics()
          Returns the constraint characteristics for this constraint.
 TableConstraint getConstraint()
          Returns the actual table constraint.
 java.lang.String getConstraintName()
          Returns the optional name for this constraint.
 
Methods inherited from interface org.atp.api.Typeable
getImplementedType
 

Method Detail

getConstraintName

java.lang.String getConstraintName()
Returns the optional name for this constraint. Will be null if no name defined for this constraint.

Returns:
The optional name for this constraint. Will be null if no name defined for this constraint.

getCharacteristics

ConstraintCharacteristics getCharacteristics()
Returns the constraint characteristics for this constraint. Will be null if no characteristics defined.

Returns:
The constraint characteristics for this constraint. Will be null if no characteristics defined.
See Also:
ConstraintCharacteristics

getConstraint

TableConstraint getConstraint()
Returns the actual table constraint.

Returns:
The actual table constraint.


Copyright © 2010. All Rights Reserved.