public interface Column extends BaseColumn<Table>
Modifier and Type | Method and Description |
---|---|
String |
getDefaultValue()
Gets the default data value for the column.
|
Privilege<Column> |
getPrivilege(String name)
Gets a privilege by name.
|
Collection<Privilege<Column>> |
getPrivileges()
Gets the list of privileges for the table.
|
Column |
getReferencedColumn()
Referenced column if this column is part of a foreign key, null
otherwise.
|
boolean |
isAutoIncremented()
True if this column is auto-incremented.
|
boolean |
isGenerated()
True if this column is a generated column.
|
boolean |
isPartOfForeignKey()
True if this column is part of a foreign key.
|
boolean |
isPartOfIndex()
True if this column is part of an index.
|
boolean |
isPartOfPrimaryKey()
True if this column is a part of primary key.
|
boolean |
isPartOfUniqueIndex()
True if this column is part of an unique index.
|
getColumnDataType, getDecimalDigits, getOrdinalPosition, getSize, getWidth, isNullable
getShortName
getSchema
getAttribute, getAttribute, getAttributes, getRemarks, hasRemarks, removeAttribute, setAttribute
getFullName, getLookupKey, getName
compareTo
getParent
getType
String getDefaultValue()
Privilege<Column> getPrivilege(String name)
name
- NameCollection<Privilege<Column>> getPrivileges()
Column getReferencedColumn()
boolean isAutoIncremented()
boolean isGenerated()
boolean isPartOfForeignKey()
boolean isPartOfIndex()
boolean isPartOfPrimaryKey()
boolean isPartOfUniqueIndex()
Copyright © 2000-2014 Sualeh Fatehi. All rights reserved.