public interface ForeignKeyConstraint extends TableConstraint
FOREIGN KEY(col1, col2, ...) ... table constraint in table definition.TableConstraint,
TableDefinition| Modifier and Type | Method and Description |
|---|---|
MatchType |
getMatchType()
Returns the match type for this foreign key.
|
ReferentialAction |
getOnDelete()
Returns the referential action of deleting the rows.
|
ReferentialAction |
getOnUpdate()
Returns the referential action of updating the rows.
|
ColumnNameList |
getSourceColumns()
Returns the list of column names in this table.
|
ColumnNameList |
getTargetColumns()
Returns the list of column names in target table.
|
TableNameDirect |
getTargetTableName()
Returns the name of the table where the columns in this table are referencing to.
|
ColumnNameList getSourceColumns()
TableNameDirect getTargetTableName()
ColumnNameList getTargetColumns()
null if none specified.null if none specified.MatchType getMatchType()
null if no match type is specified.null if no match type is specified.ReferentialAction getOnUpdate()
null if none specified.null if none specified.ReferentialActionReferentialAction getOnDelete()
null if none specified.null if none specified.ReferentialActionCopyright © 2010-2012. All Rights Reserved.