- Type Parameters:
- R- The- KEY'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 SummaryModifier 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,?> @NotNull [] The fields that make up theKEYgetTable()TheKey's owner tablebooleannullable()Whether this key is (partially) nullable.Methods inherited from interface org.jooq.Named$name, getComment, getCommentPart, getName, getQualifiedName, getUnqualifiedName
- 
Method Details- 
getTableTheKey's owner table
- 
getFieldsThe fields that make up theKEY
- 
getFieldsArrayThe fields that make up theKEY- See Also:
 
- 
constraintGet thisKEYas a formalConstraintspecification.
- 
enforcedboolean enforced()Whether this key is being enforced.
- 
nullableboolean nullable()Whether this key is (partially) nullable.
 
-