public class PkColumn extends BasicColumn
| Constructor and Description |
|---|
PkColumn(JdbcAdaptor jdbcAdaptor,
BasicMapping<?,?> mapping,
int sqlType,
ColumnMetadata metadata) |
| Modifier and Type | Method and Description |
|---|---|
IdType |
getIdType()
Returns the idType of the column.
|
boolean |
isPrimaryKey()
Returns if the column is a primary key column.
|
convertValue, getColumnDefinition, getLength, getLocator, getMapping, getMappingName, getName, getPrecision, getScale, getSqlType, getTable, getTableName, getValue, isInsertable, isNullable, isUnique, isUpdatable, setTable, setValuetoStringpublic PkColumn(JdbcAdaptor jdbcAdaptor, BasicMapping<?,?> mapping, int sqlType, ColumnMetadata metadata)
jdbcAdaptor - the jdbc adaptormapping - the mappingsqlType - the SQL typemetadata - the metadatapublic IdType getIdType()
public boolean isPrimaryKey()
isPrimaryKey in class AbstractColumnCopyright © 2012 Batoo Software & Consultancy. All Rights Reserved.