- Type Parameters:
R- TheKEY's owner table record
- All Superinterfaces:
Key<R>,Named,QueryPart,Serializable
A
UniqueKey is an object representing a UNIQUE KEY
or a PRIMARY KEY. It can be referenced by a ForeignKey.
Instances of this type cannot be created directly. They are available from generated code.
- Author:
- Lukas Eder
-
Method Summary
Modifier and TypeMethodDescription@NotNull List<ForeignKey<?,R>> A list of allForeignKeys, referencing thisUniqueKeybooleanWhether this is the table's primary key.Methods inherited from interface org.jooq.Key
constraint, enforced, getFields, getFieldsArray, getTable, nullableMethods inherited from interface org.jooq.Named
$name, getComment, getCommentPart, getName, getQualifiedName, getUnqualifiedName
-
Method Details
-
getReferences
A list of allForeignKeys, referencing thisUniqueKey -
isPrimary
boolean isPrimary()Whether this is the table's primary key.
-