public interface Column
| Modifier and Type | Method and Description |
|---|---|
Object |
convertValue(Connection connection,
Object value)
Converts the value corresponding to enum, temporal type, number or [cb]lob.
|
String |
getColumnDefinition()
Returns the static definition of the column.
|
IdType |
getIdType()
Returns the idType of the column.
|
int |
getLength()
Returns the length of the column.
|
AbstractLocator |
getLocator()
Returns the locator of the column.
|
Mapping<?,?,?> |
getMapping()
Returns the mapping of the BasicColumn.
|
String |
getName()
Returns the name of the column.
|
int |
getPrecision()
Returns the precision of the column.
|
int |
getScale()
Returns the scale of the column.
|
int |
getSqlType()
Returns the SQL Type of the column.
|
AbstractTable |
getTable()
Returns the table of the column
|
String |
getTableName()
Returns the table name of the column.
|
Object |
getValue(Connection connection,
Object instance)
Returns the value for the column
|
boolean |
isInsertable()
Returns the insertable of the column.
|
boolean |
isLob()
Returns if the column is lob type.
|
boolean |
isNullable()
Returns the nullable of the column.
|
boolean |
isPrimaryKey()
Returns if the column is a primary key column.
|
boolean |
isUnique()
Returns the unique of the column.
|
boolean |
isUpdatable()
Returns the updatable of the column.
|
void |
setId()
Sets the column as id column.
|
void |
setTable(AbstractTable table)
Sets the table of the column.
|
void |
setValue(Object instance,
Object value)
Sets the value for the instance
|
Object convertValue(Connection connection, Object value)
connection - the connectionvalue - the raw valueString getColumnDefinition()
IdType getIdType()
int getLength()
AbstractLocator getLocator()
Mapping<?,?,?> getMapping()
String getName()
int getPrecision()
int getScale()
int getSqlType()
AbstractTable getTable()
String getTableName()
Object getValue(Connection connection, Object instance)
connection - the connectioninstance - the instanceboolean isInsertable()
boolean isLob()
boolean isNullable()
boolean isPrimaryKey()
boolean isUnique()
boolean isUpdatable()
void setId()
void setTable(AbstractTable table)
table - the owning tableCopyright © 2012-2013 Batoo. All Rights Reserved.