public class MapKeyColumn extends AbstractColumn
| Constructor and Description |
|---|
MapKeyColumn(AbstractTable table,
ColumnMetadata metadata,
String name,
javax.persistence.TemporalType temporalType,
javax.persistence.EnumType enumType,
Class<?> javaType) |
| Modifier and Type | Method and Description |
|---|---|
String |
getColumnDefinition()
Returns the static definition of the column.
|
int |
getLength()
Returns the length 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 value)
Returns the value for the column
|
boolean |
isInsertable()
Returns the insertable of the column.
|
boolean |
isNullable()
Returns the nullable of the column.
|
boolean |
isUnique()
Returns the unique of the column.
|
boolean |
isUpdatable()
Returns the updatable of the column.
|
void |
setTable(AbstractTable table)
Sets the table of the column.
|
void |
setValue(Object instance,
Object value)
Sets the value for the instance
|
convertValue, convertValueForSet, getIdType, getLocator, isLob, isPrimaryKey, isVersion, setId, toStringpublic MapKeyColumn(AbstractTable table, ColumnMetadata metadata, String name, javax.persistence.TemporalType temporalType, javax.persistence.EnumType enumType, Class<?> javaType)
table - the join tablemetadata - the column definitionname - the name of the columntemporalType - the temporal type of the columnenumType - the enum type of the columnjavaType - the java typepublic String getColumnDefinition()
getColumnDefinition in interface ColumngetColumnDefinition in class AbstractColumnpublic int getLength()
getLength in interface ColumngetLength in class AbstractColumnpublic Mapping<?,?,?> getMapping()
getMapping in interface ColumngetMapping in class AbstractColumnpublic String getName()
getName in interface ColumngetName in class AbstractColumnpublic int getPrecision()
getPrecision in interface ColumngetPrecision in class AbstractColumnpublic int getScale()
getScale in interface ColumngetScale in class AbstractColumnpublic int getSqlType()
getSqlType in interface ColumngetSqlType in class AbstractColumnpublic AbstractTable getTable()
getTable in interface ColumngetTable in class AbstractColumnpublic String getTableName()
getTableName in interface ColumngetTableName in class AbstractColumnpublic Object getValue(Connection connection, Object value)
getValue in interface ColumngetValue in class AbstractColumnconnection - the connectionvalue - the instancepublic boolean isInsertable()
isInsertable in interface ColumnisInsertable in class AbstractColumnpublic boolean isNullable()
isNullable in interface ColumnisNullable in class AbstractColumnpublic boolean isUnique()
isUnique in interface ColumnisUnique in class AbstractColumnpublic boolean isUpdatable()
isUpdatable in interface ColumnisUpdatable in class AbstractColumnpublic void setTable(AbstractTable table)
setTable in interface ColumnsetTable in class AbstractColumntable - the owning tableCopyright © 2012-2013 Batoo. All Rights Reserved.