org.ztemplates.property
Class ZBigDecimalProperty

java.lang.Object
  extended by org.ztemplates.property.ZProperty<BigDecimal>
      extended by org.ztemplates.property.ZBigDecimalProperty

public class ZBigDecimalProperty
extends ZProperty<BigDecimal>


Field Summary
 
Fields inherited from class org.ztemplates.property.ZProperty
log
 
Constructor Summary
ZBigDecimalProperty()
           
ZBigDecimalProperty(BigDecimal val)
           
ZBigDecimalProperty(int scale, int roundingMode)
           
ZBigDecimalProperty(String name)
           
 
Method Summary
 String format(BigDecimal obj)
           
 int getScale()
           
 BigDecimal parse(String formattedValue)
           
 
Methods inherited from class org.ztemplates.property.ZProperty
clear, getName, getStringValue, getStringValues, getValidators, getValue, getValues, isEmpty, isReadable, isRequired, isWriteable, setName, setReadable, setRequired, setStringValue, setStringValues, setValue, setWriteable, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ZBigDecimalProperty

public ZBigDecimalProperty()

ZBigDecimalProperty

public ZBigDecimalProperty(String name)

ZBigDecimalProperty

public ZBigDecimalProperty(int scale,
                           int roundingMode)

ZBigDecimalProperty

public ZBigDecimalProperty(BigDecimal val)
Method Detail

parse

public BigDecimal parse(String formattedValue)
                 throws Exception
Specified by:
parse in class ZProperty<BigDecimal>
Throws:
Exception

format

public String format(BigDecimal obj)
Specified by:
format in class ZProperty<BigDecimal>

getScale

public int getScale()


Copyright © 2011. All Rights Reserved.