com.caucho.amber.cfg
Class AbstractColumnConfig

java.lang.Object
  extended by com.caucho.amber.cfg.AbstractColumnConfig
Direct Known Subclasses:
ColumnConfig, JoinColumnConfig

public abstract class AbstractColumnConfig
extends java.lang.Object

Base class for and tag in the orm.xml


Constructor Summary
AbstractColumnConfig()
           
 
Method Summary
 java.lang.String getColumnDefinition()
          Returns the column definition.
 java.lang.String getName()
          Returns the name.
 java.lang.String getTable()
          Returns the table.
 boolean isInsertable()
           
 boolean isNullable()
           
 boolean isUnique()
           
 boolean isUpdatable()
           
 void setColumnDefinition(java.lang.String columnDefinition)
          Sets the column definition.
 void setInsertable(boolean isInsertable)
           
 void setName(java.lang.String name)
          Sets the name.
 void setNullable(boolean isNullable)
           
 void setTable(java.lang.String table)
          Sets the table.
 void setUnique(boolean isUnique)
           
 void setUpdatable(boolean isUpdatable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractColumnConfig

public AbstractColumnConfig()
Method Detail

getName

public java.lang.String getName()
Returns the name.


setName

public void setName(java.lang.String name)
Sets the name.


isUnique

public boolean isUnique()

isNullable

public boolean isNullable()

isInsertable

public boolean isInsertable()

isUpdatable

public boolean isUpdatable()

setUnique

public void setUnique(boolean isUnique)

setNullable

public void setNullable(boolean isNullable)

setInsertable

public void setInsertable(boolean isInsertable)

setUpdatable

public void setUpdatable(boolean isUpdatable)

getColumnDefinition

public java.lang.String getColumnDefinition()
Returns the column definition.


setColumnDefinition

public void setColumnDefinition(java.lang.String columnDefinition)
Sets the column definition.


getTable

public java.lang.String getTable()
Returns the table.


setTable

public void setTable(java.lang.String table)
Sets the table.