|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.reporting.engine.classic.core.util.beans.BigDecimalValueConverter
public class BigDecimalValueConverter
A class that handles the conversion of BigDecimal attributes to and from their String
representation.
| Constructor Summary | |
|---|---|
BigDecimalValueConverter()
Creates a new value converter. |
|
| Method Summary | |
|---|---|
String |
toAttributeValue(Object o)
Converts the attribute to a string. |
Object |
toPropertyValue(String s)
Converts a string to a BigDecimal. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BigDecimalValueConverter()
| Method Detail |
|---|
public String toAttributeValue(Object o)
throws BeanException
toAttributeValue in interface ValueConvertero - the attribute (BigDecimal expected).
BigDecimal value.
BeanException - if there was an error during the conversion.
public Object toPropertyValue(String s)
throws BeanException
BigDecimal.
toPropertyValue in interface ValueConverters - the string.
BigDecimal.
BeanException - if there was an error during the conversion.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||