R
- The KEY
's owner table recordpublic interface UniqueKey<R extends Record> extends Key<R>
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.
Modifier and Type | Method and Description |
---|---|
List<ForeignKey<?,R>> |
getReferences()
A list of all
ForeignKeys , referencing this
UniqueKey |
boolean |
isPrimary()
Whether this is the table's primary key.
|
constraint, enforced, getFields, getFieldsArray, getTable
getComment, getName, getQualifiedName, getUnqualifiedName
List<ForeignKey<?,R>> getReferences()
ForeignKeys
, referencing this
UniqueKey
boolean isPrimary()
Copyright © 2020. All rights reserved.