org.jooq
Interface Key<R extends Record>

Type Parameters:
R - The KEY's owner table record
All Superinterfaces:
Serializable
All Known Subinterfaces:
ForeignKey<R,U>, UniqueKey<R>

public interface Key<R extends Record>
extends Serializable

A Key is an object representing a UNIQUE KEY, a PRIMARY KEY, or a FOREIGN KEY.

Author:
Lukas Eder

Method Summary
 List<TableField<R,?>> getFields()
          The fields that make up the KEY
 TableField<R,?>[] getFieldsArray()
          The fields that make up the KEY
 Table<R> getTable()
          The Key's owner table
 

Method Detail

getTable

Table<R> getTable()
The Key's owner table


getFields

List<TableField<R,?>> getFields()
The fields that make up the KEY


getFieldsArray

TableField<R,?>[] getFieldsArray()
The fields that make up the KEY

See Also:
getFields()


Copyright © 2012. All Rights Reserved.