public interface ColumnDefinition extends TypedElementDefinition<TableDefinition>
| Modifier and Type | Method and Description |
|---|---|
List<ForeignKeyDefinition> |
getForeignKeys()
All definitions of foreign keys that this column is part of.
|
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. |
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. |
boolean |
isNullable()
Whether the column is nullable
|
getContainer, getTypegetComment, getDatabase, getDefinitionPath, getInputName, getName, getOutputName, getOverload, getQualifiedInputName, getQualifiedName, getQualifiedOutputName, getSchemaint getPosition()
UniqueKeyDefinition getPrimaryKey()
null if this column is not part of a primary key.List<UniqueKeyDefinition> getUniqueKeys()
List<ForeignKeyDefinition> getForeignKeys()
boolean isIdentity()
IDENTITY column.boolean isNullable()
Copyright © 2013. All Rights Reserved.