org.castor.cpa.persistence.sql.engine.info
Class ColumnValue

java.lang.Object
  extended by org.castor.cpa.persistence.sql.engine.info.ColumnValue

public final class ColumnValue
extends Object

Version:
$Revision: 8994 $ $Date: 2011-08-02 01:40:59 +0200 (Di, 02 Aug 2011) $
Author:
Dennis Butterstein, Ralf Joachim

Constructor Summary
protected ColumnValue(ColumnInfo column, Object value)
          Construct ColumnValue for given column with given value.
 
Method Summary
 String getName()
          Method returning name of this column.
 int getType()
          Method returning SQL type of this column.
 Object getValue()
          Get value of the column.
 boolean isDirty()
          Method returning dirty flag.
 boolean isStore()
          Method returning store flag.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColumnValue

protected ColumnValue(ColumnInfo column,
                      Object value)
Construct ColumnValue for given column with given value.

Parameters:
column - Column the value belongs to.
value - Value of the column.
Method Detail

getName

public String getName()
Method returning name of this column.

Returns:
Name of this column.

getType

public int getType()
Method returning SQL type of this column.

Returns:
SQL type of this column.

isStore

public boolean isStore()
Method returning store flag.

Returns:
Store flag.

isDirty

public boolean isDirty()
Method returning dirty flag.

Returns:
Dirty flag.

getValue

public Object getValue()
Get value of the column.

Returns:
Value of the column.


Copyright © 2012. All Rights Reserved.