public abstract class ComplexVolumeAttrib extends ComplexAttrib<VolumeValue>
Constructor and Description |
---|
ComplexVolumeAttrib(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 ComplexVolumeAttrib(OpenEstateAttrib attrib, String[] countries)
public VolumeValue getDefaultValue()
getDefaultValue
in class AbstractAttribImpl<VolumeValue>
protected static VolumeValue get(EstateImpl estate, OpenEstateAttrib attrib)
protected static VolumeValue get(EstateImpl estate, OpenEstateAttrib attrib, VolumeValue.Unit destUnit)
protected static BigDecimal getAsBigDecimal(EstateImpl estate, OpenEstateAttrib attrib, VolumeValue.Unit destUnit)
protected static BigInteger getAsBigInteger(EstateImpl estate, OpenEstateAttrib attrib, VolumeValue.Unit destUnit)
protected static Double getAsDouble(EstateImpl estate, OpenEstateAttrib attrib, VolumeValue.Unit destUnit)
protected static Float getAsFloat(EstateImpl estate, OpenEstateAttrib attrib, VolumeValue.Unit destUnit)
protected static Integer getAsInteger(EstateImpl estate, OpenEstateAttrib attrib, VolumeValue.Unit destUnit)
protected static Long getAsLong(EstateImpl estate, OpenEstateAttrib attrib, VolumeValue.Unit destUnit)
protected static String getAsString(EstateImpl estate, OpenEstateAttrib attrib, VolumeValue.Unit destUnit)
protected static String getAsString(EstateImpl estate, OpenEstateAttrib attrib, VolumeValue.Unit destUnit, Locale locale)
public final NumberFormat getFormat()
public final NumberFormat getFormat(Locale locale)
public String getFormattedValue(VolumeValue value, Locale locale, String valueSeparator)
getFormattedValue
in class AbstractAttribImpl<VolumeValue>
public VolumeValue getValue()
getValue
in class AbstractAttribImpl<VolumeValue>
protected VolumeValue parseNode(org.dom4j.Element node)
parseNode
in class ComplexAttrib<VolumeValue>
public VolumeValue parseValue(Object value)
parseValue
in class ComplexAttrib<VolumeValue>
protected static void put(EstateImpl estate, OpenEstateAttrib attrib, String value, VolumeValue.Unit unit)
protected static void put(EstateImpl estate, OpenEstateAttrib attrib, Number value, VolumeValue.Unit unit)
protected static void put(EstateImpl estate, OpenEstateAttrib attrib, VolumeValue value)
public void setValue(VolumeValue value)
setValue
in class AbstractAttribImpl<VolumeValue>
protected void writeNode(org.dom4j.Element node, VolumeValue value)
writeNode
in class ComplexAttrib<VolumeValue>
Copyright © 2019 OpenEstate. All rights reserved.