net.sf.dc.core.objects
Class DcValue

java.lang.Object
  extended bynet.sf.dc.core.objects.DcValue

public class DcValue
extends java.lang.Object

Value definition for a Data Crow object

Since:
1.3
Version:
1.0
Author:
Robert Jan van der Waals

Constructor Summary
DcValue()
           
 
Method Summary
 void finalize()
           
 java.lang.String getDisplayString(int fieldType)
           
 java.lang.Object getValue()
          Returns the object value represented by the DCValue
 java.lang.String getValueAsString()
          Returns the value represented by the DCValue as a string
 boolean isChanged()
          Indicates whether the value has been changed
 void setChanged(boolean b)
          Mark a value as beign changed
 void setValue(java.lang.Object o, DcField field)
          Applies a value
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DcValue

public DcValue()
Method Detail

isChanged

public boolean isChanged()
Indicates whether the value has been changed


setChanged

public void setChanged(boolean b)
Mark a value as beign changed


setValue

public void setValue(java.lang.Object o,
                     DcField field)
Applies a value

Parameters:
o - the value to be applied
field - the field definition to which this value belongs

getValue

public java.lang.Object getValue()
Returns the object value represented by the DCValue


getValueAsString

public java.lang.String getValueAsString()
Returns the value represented by the DCValue as a string


getDisplayString

public java.lang.String getDisplayString(int fieldType)

finalize

public void finalize()
              throws java.lang.Throwable
Throws:
java.lang.Throwable