-
- All Superinterfaces:
Definition,PositionedDefinition,TypedElementDefinition<TableDefinition>
- All Known Implementing Classes:
DefaultColumnDefinition
public interface ColumnDefinition extends TypedElementDefinition<TableDefinition>, PositionedDefinition
An interface defining a column of a table.- Author:
- Lukas Eder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<ForeignKeyDefinition>getForeignKeys()All definitions of foreign keys that this column is part of.List<UniqueKeyDefinition>getKeys()All definitions of unique and primary keys that this column is part of.UniqueKeyDefinitiongetPrimaryKey()A definition for the primary key that this column is part of, ornullif this column is not part of a primary key.List<UniqueKeyDefinition>getUniqueKeys()All definitions of unique keys that this column is part of.booleanisIdentity()Whether this column is the table'sIDENTITYcolumn.-
Methods inherited from interface org.jooq.meta.Definition
getCatalog, getComment, getDatabase, getDefinitionPath, getInputName, getName, getOutputName, getOverload, getPackage, getQualifiedInputName, getQualifiedInputNamePart, getQualifiedName, getQualifiedNamePart, getQualifiedOutputName, getQualifiedOutputNamePart, getSchema, getSource
-
Methods inherited from interface org.jooq.meta.PositionedDefinition
getPosition
-
Methods inherited from interface org.jooq.meta.TypedElementDefinition
getContainer, getDefinedType, getDomain, getType, getType
-
-
-
-
Method Detail
-
getPrimaryKey
UniqueKeyDefinition getPrimaryKey()
A definition for the primary key that this column is part of, ornullif this column is not part of a primary key.
-
getUniqueKeys
List<UniqueKeyDefinition> getUniqueKeys()
All definitions of unique keys that this column is part of.
-
getKeys
List<UniqueKeyDefinition> getKeys()
All definitions of unique and primary keys that this column is part of.
-
getForeignKeys
List<ForeignKeyDefinition> getForeignKeys()
All definitions of foreign keys that this column is part of.
-
isIdentity
boolean isIdentity()
Whether this column is the table'sIDENTITYcolumn.
-
-