- Type Parameters:
R- TheKEY's owner table record
- All Superinterfaces:
Named,QueryPart,Serializable
- All Known Subinterfaces:
ForeignKey<R,O>,UniqueKey<R>
A
Key is an object representing a UNIQUE KEY, a
PRIMARY KEY, or a FOREIGN KEY.
Instances of this type cannot be created directly. They are available from generated code.
- Author:
- Lukas Eder
-
Method Summary
Modifier and TypeMethodDescription@NotNull ConstraintGet thisKEYas a formalConstraintspecification.booleanenforced()Whether this key is being enforced.@NotNull List<TableField<R,?>>The fields that make up theKEY@NotNull TableField<R,?>[]The fields that make up theKEYgetTable()TheKey's owner tablebooleannullable()Whether this key is (partially) nullable.Methods inherited from interface org.jooq.Named
getComment, getCommentPart, getName, getQualifiedName, getUnqualifiedName
-
Method Details
-
getTable
TheKey's owner table -
getFields
The fields that make up theKEY -
getFieldsArray
The fields that make up theKEY- See Also:
getFields()
-
constraint
Get thisKEYas a formalConstraintspecification. -
enforced
boolean enforced()Whether this key is being enforced. -
nullable
boolean nullable()Whether this key is (partially) nullable.
-