Class ForeignKeyConstraint
java.lang.Object
fr.multimc.api.commons.data.sources.database.models.constraints.ForeignKeyConstraint
- All Implemented Interfaces:
IConstraint
-
Constructor Summary
ConstructorsConstructorDescriptionForeignKeyConstraint
(String constraintName, Field localField, String targetTableName, Field targetFieldName) -
Method Summary
-
Constructor Details
-
ForeignKeyConstraint
-
-
Method Details
-
getConstraint
Description copied from interface:IConstraint
Get a SQL constraint from anIConstraint
object.- Specified by:
getConstraint
in interfaceIConstraint
- Returns:
String
that contains the SQL constraint
-