Top Fields Constructors Methods
org.jooq.impl

pack-priv final Class UniqueKeyImpl<R extends org.jooq.Record>

extends AbstractKey<R extends Record>
implements UniqueKey<R extends Record>
Class Inheritance
All Implemented Interfaces
org.jooq.UniqueKey, org.jooq.Key, org.jooq.Named, org.jooq.QueryPart, java.io.Serializable
Imports
java.util.ArrayList, .Collections, .List, org.jooq.ConstraintEnforcementStep, .ForeignKey, .Name, .Record, .Table, .TableField, .UniqueKey

Author
Lukas Eder

Field Summary

Modifier and TypeField and Description
pack-priv final List<ForeignKey<?, R>>

Constructor Summary

AccessConstructor and Description
pack-priv
UniqueKeyImpl(Table<R> table, TableField<R, ?>[] fields, boolean enforced)

Deprecated as a consequence of TableField being deprecated.
pack-priv
UniqueKeyImpl(Table<R> table, Name name, TableField<R, ?>[] fields, boolean enforced)

Deprecated as a consequence of TableField being deprecated.

Method Summary

Modifier and TypeMethod and Description
pack-priv final ConstraintEnforcementStep
constraint0()

Implements abstract org.jooq.impl.AbstractKey.constraint0.

Deprecated as a consequence of ConstraintEnforcementStep being deprecated.
public final List<ForeignKey<?, R>>
getReferences()

Implements org.jooq.UniqueKey.getReferences.

A list of all ForeignKeys, referencing this UniqueKey
public final boolean
isPrimary()

Implements org.jooq.UniqueKey.isPrimary.

Whether this is the table's primary key.
Inherited from org.jooq.impl.AbstractKey:
acceptconstraintenforcedequalsgetFieldsgetFieldsArraygetTablehashCodenullabletoString

Field Detail

referencesback to summary
pack-priv final List<ForeignKey<?, R>> references

Constructor Detail

UniqueKeyImplback to summary
pack-priv UniqueKeyImpl(Table<R> table, TableField<R, ?>[] fields, boolean enforced)

Deprecated

as a consequence of TableField being deprecated. See corresponding docs for further information.

UniqueKeyImplback to summary
pack-priv UniqueKeyImpl(Table<R> table, Name name, TableField<R, ?>[] fields, boolean enforced)

Deprecated

as a consequence of TableField being deprecated. See corresponding docs for further information.

Method Detail

constraint0back to summary
pack-priv final ConstraintEnforcementStep constraint0()

Implements abstract org.jooq.impl.AbstractKey.constraint0.

Deprecated

as a consequence of ConstraintEnforcementStep being deprecated. See corresponding docs for further information.

Annotations
@Override
getReferencesback to summary
public final List<ForeignKey<?, R>> getReferences()

Implements org.jooq.UniqueKey.getReferences.

Doc from org.jooq.UniqueKey.getReferences.

A list of all ForeignKeys, referencing this UniqueKey

Annotations
@Override
isPrimaryback to summary
public final boolean isPrimary()

Implements org.jooq.UniqueKey.isPrimary.

Doc from org.jooq.UniqueKey.isPrimary.

Whether this is the table's primary key.

Annotations
@Override