public interface ColumnDefinition extends TypedElementDefinition<TableDefinition>, PositionedDefinition
| Modifier and Type | Method and Description |
|---|---|
List<ForeignKeyDefinition> |
getForeignKeys()
All definitions of foreign keys that this column is part of.
|
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()
Deprecated.
- [#2699] - 3.2.0 - Use
DataTypeDefinition.isNullable() instead. |
getContainer, getDefinedType, getDomain, getType, getTypegetPositiongetCatalog, getComment, getDatabase, getDefinitionPath, getInputName, getName, getOutputName, getOverload, getPackage, getQualifiedInputName, getQualifiedInputNamePart, getQualifiedName, getQualifiedNamePart, getQualifiedOutputName, getQualifiedOutputNamePart, getSchema, getSourceUniqueKeyDefinition getPrimaryKey()
null if this column is not part of a primary key.List<UniqueKeyDefinition> getUniqueKeys()
List<ForeignKeyDefinition> getForeignKeys()
boolean isIdentity()
IDENTITY column.@Deprecated boolean isNullable()
DataTypeDefinition.isNullable() instead.Copyright © 2021. All rights reserved.