- Type Parameters:
R
- TheKEY
's owner table record
- All Superinterfaces:
Named
,QueryPart
,Serializable
- All Known Subinterfaces:
ForeignKey<CHILD,
,PARENT> InverseForeignKey<PARENT,
,CHILD> 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 Constraint
Get thisKEY
as a formalConstraint
specification.boolean
enforced()
Whether this key is being enforced.@NotNull List
<TableField<R, ?>> The fields that make up theKEY
@NotNull TableField<R,
?> @NotNull [] The fields that make up theKEY
getTable()
TheKey
's owner tableboolean
nullable()
Whether this key is (partially) nullable.Methods inherited from interface org.jooq.Named
$name, 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:
-
constraint
Get thisKEY
as a formalConstraint
specification. -
enforced
boolean enforced()Whether this key is being enforced. -
nullable
boolean nullable()Whether this key is (partially) nullable.
-