com.caucho.amber.cfg
Class ColumnConfig

java.lang.Object
  extended by com.caucho.amber.cfg.AbstractColumnConfig
      extended by com.caucho.amber.cfg.ColumnConfig

public class ColumnConfig
extends AbstractColumnConfig

tag in the orm.xml


Constructor Summary
ColumnConfig()
           
ColumnConfig(Column column)
           
 
Method Summary
 int getLength()
          Returns the length.
 int getPrecision()
          Returns the precision.
 int getScale()
          Returns the scale.
 void introspect(Column column)
          Fill the column value by introspection
 void setLength(int length)
          Sets the length.
 void setPrecision(int precision)
          Sets the precision.
 void setScale(int scale)
          Sets the scale.
 
Methods inherited from class com.caucho.amber.cfg.AbstractColumnConfig
getColumnDefinition, getName, getTable, isInsertable, isNullable, isUnique, isUpdatable, setColumnDefinition, setInsertable, setName, setNullable, setTable, setUnique, setUpdatable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColumnConfig

public ColumnConfig()

ColumnConfig

public ColumnConfig(Column column)
Method Detail

getLength

public int getLength()
Returns the length.


setLength

public void setLength(int length)
Sets the length.


getPrecision

public int getPrecision()
Returns the precision.


setPrecision

public void setPrecision(int precision)
Sets the precision.


getScale

public int getScale()
Returns the scale.


setScale

public void setScale(int scale)
Sets the scale.


introspect

public void introspect(Column column)
Fill the column value by introspection