public abstract class AbstractColumn extends Object
| Constructor and Description |
|---|
AbstractColumn() |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
getColumnDefinition()
Returns the static definition of the column.
|
abstract int |
getLength()
Returns the length of the column.
|
abstract AbstractLocator |
getLocator()
Returns the locator of the column.
|
abstract Mapping<?,?,?> |
getMapping()
Returns the mapping of the BasicColumn.
|
abstract String |
getMappingName()
Returns the mapping name of the column.
|
abstract String |
getName()
Returns the name of the column.
|
abstract int |
getPrecision()
Returns the precision of the column.
|
abstract int |
getScale()
Returns the scale of the column.
|
abstract int |
getSqlType()
Returns the SQL Type of the column.
|
abstract AbstractTable |
getTable()
Returns the table of the column
|
abstract String |
getTableName()
Returns the table name of the column.
|
abstract Object |
getValue(Object instance)
Returns the value for the column
|
abstract boolean |
isInsertable()
Returns the insertable of the column.
|
abstract boolean |
isNullable()
Returns the nullable of the column.
|
boolean |
isPrimaryKey()
Returns if the column is a primary key column.
|
abstract boolean |
isUnique()
Returns the unique of the column.
|
abstract boolean |
isUpdatable()
Returns the updatable of the column.
|
abstract void |
setTable(AbstractTable table)
Sets the table of the column.
|
abstract void |
setValue(Object instance,
Object value)
Sets the value for the instance
|
String |
toString() |
public abstract String getColumnDefinition()
public abstract int getLength()
public abstract AbstractLocator getLocator()
public abstract Mapping<?,?,?> getMapping()
public abstract String getMappingName()
public abstract String getName()
public abstract int getPrecision()
public abstract int getScale()
public abstract int getSqlType()
public abstract AbstractTable getTable()
public abstract String getTableName()
public abstract Object getValue(Object instance)
instance - the instancepublic abstract boolean isInsertable()
public abstract boolean isNullable()
public boolean isPrimaryKey()
public abstract boolean isUnique()
public abstract boolean isUpdatable()
public abstract void setTable(AbstractTable table)
table - the owning tablepublic abstract void setValue(Object instance, Object value)
instance - the instance of which to set valuevalue - the value to setCopyright © 2012 Batoo Software & Consultancy. All Rights Reserved.