- All Superinterfaces:
ConstraintDefinition,Definition
- All Known Implementing Classes:
DefaultInverseForeignKeyDefinition
An object holding information about an inverse foreign key relationship.
This constraint represents the UniqueKeyDefinition that enforces the
uniqueness at the referenced end of the ForeignKeyDefinition.
- Author:
- Lukas Eder
-
Method Summary
Modifier and TypeMethodDescriptionGet the foreign key this is an inverse of.The list of columns making up the unique key.The list of columns referencing this unique key from the foreign key.The definition of the referencing table.Methods 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
-
Method Details
-
getKeyColumns
List<ColumnDefinition> getKeyColumns()The list of columns making up the unique key. -
getReferencingTable
TableDefinition getReferencingTable()The definition of the referencing table. -
getReferencingColumns
List<ColumnDefinition> getReferencingColumns()The list of columns referencing this unique key from the foreign key. -
getForeignKey
ForeignKeyDefinition getForeignKey()Get the foreign key this is an inverse of.
-