java.lang.Object
org.jooq.meta.AbstractDefinition
org.jooq.meta.AbstractConstraintDefinition
org.jooq.meta.DefaultManyToManyKeyDefinition
- All Implemented Interfaces:
ConstraintDefinition,Definition,ManyToManyKeyDefinition
public class DefaultManyToManyKeyDefinition
extends AbstractConstraintDefinition
implements ManyToManyKeyDefinition
- Author:
- Lukas Eder
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultManyToManyKeyDefinition(ForeignKeyDefinition foreignKey1, UniqueKeyDefinition uniqueKey, ForeignKeyDefinition foreignKey2) -
Method Summary
Modifier and TypeMethodDescriptionGet the first foreign key in the relationship.Get the second foreign key in the relationship.The list of columns making up the unique key.The unique key that enforces the relationship.toString()Methods inherited from class org.jooq.meta.AbstractConstraintDefinition
enforced, getDefinitionPath, getTableMethods inherited from class org.jooq.meta.AbstractDefinition
create, create, equals, getCatalog, getComment, getConnection, getDatabase, getDialect, getInputName, getName, getOutputName, getOverload, getPackage, getPartiallyQualifiedNames, getQualifiedInputName, getQualifiedInputNamePart, getQualifiedName, getQualifiedNamePart, getQualifiedOutputName, getQualifiedOutputNamePart, getSchema, getSource, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jooq.meta.ConstraintDefinition
enforced, getTableMethods inherited from interface org.jooq.meta.Definition
getCatalog, getComment, getDatabase, getDefinitionPath, getInputName, getName, getOutputName, getOverload, getPackage, getPartiallyQualifiedNames, getQualifiedInputName, getQualifiedInputNamePart, getQualifiedName, getQualifiedNamePart, getQualifiedOutputName, getQualifiedOutputNamePart, getSchema, getSource, isSynthetic
-
Constructor Details
-
DefaultManyToManyKeyDefinition
public DefaultManyToManyKeyDefinition(ForeignKeyDefinition foreignKey1, UniqueKeyDefinition uniqueKey, ForeignKeyDefinition foreignKey2)
-
-
Method Details
-
getUniqueKey
Description copied from interface:ManyToManyKeyDefinitionThe unique key that enforces the relationship.- Specified by:
getUniqueKeyin interfaceManyToManyKeyDefinition
-
getKeyColumns
Description copied from interface:ManyToManyKeyDefinitionThe list of columns making up the unique key.- Specified by:
getKeyColumnsin interfaceManyToManyKeyDefinition
-
getForeignKey1
Description copied from interface:ManyToManyKeyDefinitionGet the first foreign key in the relationship.- Specified by:
getForeignKey1in interfaceManyToManyKeyDefinition
-
getForeignKey2
Description copied from interface:ManyToManyKeyDefinitionGet the second foreign key in the relationship.- Specified by:
getForeignKey2in interfaceManyToManyKeyDefinition
-
toString
- Overrides:
toStringin classAbstractDefinition
-