public abstract class SimpleBooleanAttrib extends SimpleAttrib<Boolean>
| Constructor and Description |
|---|
SimpleBooleanAttrib(OpenEstateAttrib attrib,
String[] countries) |
| Modifier and Type | Method and Description |
|---|---|
protected static Boolean |
get(EstateImpl estate,
OpenEstateAttrib attrib) |
protected static String |
getAsString(EstateImpl estate,
OpenEstateAttrib attrib) |
protected static String |
getAsString(EstateImpl estate,
OpenEstateAttrib attrib,
Locale locale) |
Boolean |
getDefaultValue() |
String |
getFormattedValue(Boolean value,
Locale locale,
String valueSeparator) |
Boolean |
getValue() |
Boolean |
parseValue(String value) |
protected static void |
put(EstateImpl estate,
OpenEstateAttrib attrib,
Boolean value) |
protected static void |
put(EstateImpl estate,
OpenEstateAttrib attrib,
String value) |
void |
setValue(Boolean value) |
protected String |
writeValue(Boolean value) |
readFromXml, serializeToXmlgetAttrib, getAttribGroup, getAttribName, getCountries, getFormattedValue, getFormattedValue, getFormattedValue, getFormattedValue, getFormattedValue, getFormattedValue, getFormattedValue, getGroup, getGroupName, getTagName, getTranslation, getTranslation, hasEmptyValue, isCountrySpecific, isCountrySupportedpublic SimpleBooleanAttrib(OpenEstateAttrib attrib, String[] countries)
public Boolean getDefaultValue()
getDefaultValue in class AbstractAttribImpl<Boolean>protected static Boolean get(EstateImpl estate, OpenEstateAttrib attrib)
protected static String getAsString(EstateImpl estate, OpenEstateAttrib attrib)
protected static String getAsString(EstateImpl estate, OpenEstateAttrib attrib, Locale locale)
public String getFormattedValue(Boolean value, Locale locale, String valueSeparator)
getFormattedValue in class AbstractAttribImpl<Boolean>public Boolean getValue()
getValue in class AbstractAttribImpl<Boolean>public final Boolean parseValue(String value)
parseValue in class SimpleAttrib<Boolean>protected static void put(EstateImpl estate, OpenEstateAttrib attrib, String value)
protected static void put(EstateImpl estate, OpenEstateAttrib attrib, Boolean value)
public void setValue(Boolean value)
setValue in class AbstractAttribImpl<Boolean>protected String writeValue(Boolean value)
writeValue in class SimpleAttrib<Boolean>Copyright © 2019 OpenEstate. All rights reserved.