org.objectweb.telosys.common.val
Class DateValue

java.lang.Object
  extended byorg.objectweb.telosys.common.val.DateValue
All Implemented Interfaces:
ISingleValue, java.io.Serializable

public class DateValue
extends java.lang.Object
implements ISingleValue

This class wraps a Date value in an mutable value object. The current value can be changed with the 'setValue' method.

See Also:
Serialized Form

Constructor Summary
DateValue()
          Default constructor, the initial value is set to 'null'.
DateValue(java.util.Date v)
          Constructor with initial value, the parameter can be null
 
Method Summary
 java.util.Date getValue()
          Returns the Date instance ( the value returned can be null )
 void setValue(java.util.Date v)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DateValue

public DateValue()
Default constructor, the initial value is set to 'null'.


DateValue

public DateValue(java.util.Date v)
Constructor with initial value, the parameter can be null

Parameters:
v -
Method Detail

setValue

public void setValue(java.util.Date v)

getValue

public java.util.Date getValue()
Returns the Date instance ( the value returned can be null )

Returns:

toString

public java.lang.String toString()