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