java.lang.Object
org.jooq.meta.AbstractDefinition
org.jooq.meta.DefaultInverseForeignKeyDefinition
- All Implemented Interfaces:
ConstraintDefinition,Definition,InverseForeignKeyDefinition
public class DefaultInverseForeignKeyDefinition
extends AbstractDefinition
implements InverseForeignKeyDefinition
- Author:
- Lukas Eder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanenforced()Whether this constraint is enforced.Get 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.getTable()The table holding this constraint.Methods inherited from class org.jooq.meta.AbstractDefinition
create, create, equals, getCatalog, getComment, getConnection, getDatabase, getDefinitionPath, getDialect, getInputName, getName, getOutputName, getOverload, getPackage, getPartiallyQualifiedNames, getQualifiedInputName, getQualifiedInputNamePart, getQualifiedName, getQualifiedNamePart, getQualifiedOutputName, getQualifiedOutputNamePart, getSchema, getSource, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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
-
DefaultInverseForeignKeyDefinition
-
-
Method Details
-
getTable
Description copied from interface:ConstraintDefinitionThe table holding this constraint.- Specified by:
getTablein interfaceConstraintDefinition
-
enforced
public boolean enforced()Description copied from interface:ConstraintDefinitionWhether this constraint is enforced.- Specified by:
enforcedin interfaceConstraintDefinition
-
getKeyColumns
Description copied from interface:InverseForeignKeyDefinitionThe list of columns making up the unique key.- Specified by:
getKeyColumnsin interfaceInverseForeignKeyDefinition
-
getReferencingTable
Description copied from interface:InverseForeignKeyDefinitionThe definition of the referencing table.- Specified by:
getReferencingTablein interfaceInverseForeignKeyDefinition
-
getReferencingColumns
Description copied from interface:InverseForeignKeyDefinitionThe list of columns referencing this unique key from the foreign key.- Specified by:
getReferencingColumnsin interfaceInverseForeignKeyDefinition
-
getForeignKey
Description copied from interface:InverseForeignKeyDefinitionGet the foreign key this is an inverse of.- Specified by:
getForeignKeyin interfaceInverseForeignKeyDefinition
-