org.objectweb.telosys.common.val
Class BigDecimalValue

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

public class BigDecimalValue
extends java.lang.Object
implements ISingleValue

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

See Also:
Serialized Form

Constructor Summary
BigDecimalValue()
          Default constructor, the initial value is '0.0'.
BigDecimalValue(java.math.BigDecimal v)
          Constructor with initial value, if the parameter is null, the value is set to '0.0'
 
Method Summary
 java.math.BigDecimal getValue()
          Returns the BigDecimal instance ( the value returned is never null )
 void setValue(java.math.BigDecimal v)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BigDecimalValue

public BigDecimalValue()
Default constructor, the initial value is '0.0'.


BigDecimalValue

public BigDecimalValue(java.math.BigDecimal v)
Constructor with initial value, if the parameter is null, the value is set to '0.0'

Parameters:
v -
Method Detail

setValue

public void setValue(java.math.BigDecimal v)

getValue

public java.math.BigDecimal getValue()
Returns the BigDecimal instance ( the value returned is never null )

Returns:

toString

public java.lang.String toString()