public abstract class ComplexCurrencyAttrib extends ComplexAttrib<CurrencyValue>
| Constructor and Description |
|---|
ComplexCurrencyAttrib(OpenEstateAttrib attrib,
String[] countries) |
readFromXml, serializeToXmlgetAttrib, getAttribGroup, getAttribName, getCountries, getFormattedValue, getFormattedValue, getFormattedValue, getFormattedValue, getFormattedValue, getFormattedValue, getFormattedValue, getGroup, getGroupName, getTagName, getTranslation, getTranslation, hasEmptyValue, isCountrySpecific, isCountrySupportedpublic ComplexCurrencyAttrib(OpenEstateAttrib attrib, String[] countries)
public CurrencyValue getDefaultValue()
getDefaultValue in class AbstractAttribImpl<CurrencyValue>protected static CurrencyValue get(EstateImpl estate, OpenEstateAttrib attrib)
protected static BigDecimal getAsBigDecimal(EstateImpl estate, OpenEstateAttrib attrib)
protected static BigInteger getAsBigInteger(EstateImpl estate, OpenEstateAttrib attrib)
protected static Double getAsDouble(EstateImpl estate, OpenEstateAttrib attrib)
protected static Float getAsFloat(EstateImpl estate, OpenEstateAttrib attrib)
protected static Integer getAsInteger(EstateImpl estate, OpenEstateAttrib attrib)
protected static Long getAsLong(EstateImpl estate, OpenEstateAttrib attrib)
protected static String getAsString(EstateImpl estate, OpenEstateAttrib attrib)
protected static String getAsString(EstateImpl estate, OpenEstateAttrib attrib, Locale locale)
public final NumberFormat getFormat()
public final NumberFormat getFormat(Locale locale)
public String getFormattedValue(CurrencyValue value, Locale locale, String valueSeparator)
getFormattedValue in class AbstractAttribImpl<CurrencyValue>public CurrencyValue getValue()
getValue in class AbstractAttribImpl<CurrencyValue>protected CurrencyValue parseNode(org.dom4j.Element node)
parseNode in class ComplexAttrib<CurrencyValue>public CurrencyValue parseValue(Object value)
parseValue in class ComplexAttrib<CurrencyValue>protected static void put(EstateImpl estate, OpenEstateAttrib attrib, String value)
protected static void put(EstateImpl estate, OpenEstateAttrib attrib, Number value)
protected static void put(EstateImpl estate, OpenEstateAttrib attrib, CurrencyValue value)
public void setValue(CurrencyValue value)
setValue in class AbstractAttribImpl<CurrencyValue>protected void writeNode(org.dom4j.Element node,
CurrencyValue value)
writeNode in class ComplexAttrib<CurrencyValue>Copyright © 2019 OpenEstate. All rights reserved.