|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ColumnDefinition
An interface defining a column of a table
Method Summary | |
---|---|
ForeignKeyDefinition |
getForeignKey()
A definition for the foreign key that this column is part of, or null if this column is not part of a foreign key. |
int |
getPosition()
The column position in the table |
UniqueKeyDefinition |
getPrimaryKey()
A definition for the primary key that this column is part of, or null if this column is not part of a primary key. |
TableDefinition |
getTable()
The column's owner table |
String |
getTableName()
Deprecated. - 1.5.9 - Use getTable() instead |
List<UniqueKeyDefinition> |
getUniqueKeys()
All definitions of unique keys that this column is part of. |
boolean |
isIdentity()
Whether this column is the table's IDENTITY column. |
Methods inherited from interface org.jooq.util.TypedElementDefinition |
---|
getType |
Methods inherited from interface org.jooq.util.Definition |
---|
getComment, getDatabase, getName, getNameLC, getNameUC, getOverload, getQualifiedName, getSchemaName |
Method Detail |
---|
TableDefinition getTable()
@Deprecated String getTableName()
getTable()
instead
int getPosition()
UniqueKeyDefinition getPrimaryKey()
null
if this column is not part of a primary key.
List<UniqueKeyDefinition> getUniqueKeys()
ForeignKeyDefinition getForeignKey()
null
if this column is not part of a foreign key.
boolean isIdentity()
IDENTITY
column.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |