Class ForeignKey
java.lang.Object
ch.tocco.nice2.dbrefactoring.impl.model.ForeignKey
- All Implemented Interfaces:
ConstraintInfo
,ConstraintInfo.ForeignKey
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.dbrefactoring.api.model.ConstraintInfo
ConstraintInfo.ForeignKey, ConstraintInfo.JoinTable, ConstraintInfo.UniqueColumns
-
Constructor Summary
ConstructorDescriptionForeignKey
(RelationModel relationModel, String tableName, String referencedColumnNames, String referencedTableName) ForeignKey
(String columnNames, String tableName, String referencedColumnNames, String referencedTableName) -
Method Summary
-
Constructor Details
-
ForeignKey
-
ForeignKey
public ForeignKey(RelationModel relationModel, String tableName, String referencedColumnNames, String referencedTableName)
-
-
Method Details
-
getColumnNames
- Specified by:
getColumnNames
in interfaceConstraintInfo.ForeignKey
-
getTableName
- Specified by:
getTableName
in interfaceConstraintInfo.ForeignKey
-
getReferencedColumnNames
- Specified by:
getReferencedColumnNames
in interfaceConstraintInfo.ForeignKey
-
getReferencedTableName
- Specified by:
getReferencedTableName
in interfaceConstraintInfo.ForeignKey
-
getRelationModel
- Specified by:
getRelationModel
in interfaceConstraintInfo.ForeignKey
-