public class DiscriminatorColumn extends AbstractColumn
| Constructor and Description |
|---|
DiscriminatorColumn(EntityTypeImpl<?> entity,
DiscriminatorColumnMetadata metadata) |
| Modifier and Type | Method and Description |
|---|---|
String |
getColumnDefinition()
Returns the static definition 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 |
getMappingName()
Returns the mapping name of the column.
|
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(Object instance)
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
|
isPrimaryKey, toStringpublic DiscriminatorColumn(EntityTypeImpl<?> entity, DiscriminatorColumnMetadata metadata)
entity - the entitymetadata - the metadatapublic String getColumnDefinition()
getColumnDefinition in class AbstractColumnpublic int getLength()
getLength in class AbstractColumnpublic AbstractLocator getLocator()
getLocator in class AbstractColumnpublic Mapping<?,?,?> getMapping()
getMapping in class AbstractColumnpublic String getMappingName()
getMappingName in class AbstractColumnpublic String getName()
getName in class AbstractColumnpublic int getPrecision()
getPrecision in class AbstractColumnpublic int getScale()
getScale in class AbstractColumnpublic int getSqlType()
getSqlType in class AbstractColumnpublic AbstractTable getTable()
getTable in class AbstractColumnpublic String getTableName()
getTableName in class AbstractColumnpublic Object getValue(Object instance)
getValue in class AbstractColumninstance - the instancepublic boolean isInsertable()
isInsertable in class AbstractColumnpublic boolean isNullable()
isNullable in class AbstractColumnpublic boolean isUnique()
isUnique in class AbstractColumnpublic boolean isUpdatable()
isUpdatable in class AbstractColumnpublic void setTable(AbstractTable table)
setTable in class AbstractColumntable - the owning tablepublic void setValue(Object instance, Object value)
setValue in class AbstractColumninstance - the instance of which to set valuevalue - the value to setCopyright © 2012 Batoo Software & Consultancy. All Rights Reserved.