Module org.jooq
Package org.jooq
Interface InverseForeignKey<PARENT extends Record,CHILD extends Record>
- Type Parameters:
PARENT
- The referencedKEY
's owner table recordCHILD
- TheFOREIGN KEY
's owner table record
- All Superinterfaces:
Key<PARENT>
,Named
,QueryPart
,Serializable
An
InverseForeignKey
is an inverse ForeignKey
. It
represents an inverse FOREIGN KEY
relationship between two
tables.
Instances of this type cannot be created directly. They are available from generated code.
- Author:
- Lukas Eder
-
Method Summary
Modifier and TypeMethodDescription@NotNull ForeignKey<CHILD,
PARENT> The referencedUniqueKey
.@NotNull List<TableField<CHILD,
?>> The fields that make up the referencedUniqueKey
.@NotNull TableField<CHILD,
?> @NotNull [] The fields that make up the referencedUniqueKey
.Methods inherited from interface org.jooq.Key
constraint, enforced, getFields, getFieldsArray, getTable, nullable
Methods inherited from interface org.jooq.Named
$name, getComment, getCommentPart, getName, getQualifiedName, getUnqualifiedName
-
Method Details
-
getForeignKey
The referencedUniqueKey
. -
getForeignKeyFields
The fields that make up the referencedUniqueKey
.This returns the order in which the fields of
ForeignKey.getKey()
are referenced, which is usually the same as the fields ofKey.getFields()
, but not necessarily so. -
getForeignKeyFieldsArray
The fields that make up the referencedUniqueKey
.This returns the order in which the fields of
ForeignKey.getKey()
are referenced, which is usually the same as the fields ofKey.getFieldsArray()
, but not necessarily so.- See Also:
-