java.lang.Objectorg.objectweb.telosys.common.val.BigDecimalValue
This class wraps a BigDecimal value in an mutable value object. The current value can be changed with the 'setValue' method.
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)
Change the current value |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public BigDecimalValue()
public BigDecimalValue(java.math.BigDecimal v)
v
- Method Detail |
public void setValue(java.math.BigDecimal v)
v
- public java.math.BigDecimal getValue()
public java.lang.String toString()