public final class Usage extends ComplexEnumAttrib<Usage.Option>
OpenEstateAttrib.ADMINISTRATION_USAGE
.
Modifier and Type | Class and Description |
---|---|
static class |
Usage.Option |
Constructor and Description |
---|
Usage() |
Usage(Usage.Option value) |
Usage(Usage.Option[] values) |
Modifier and Type | Method and Description |
---|---|
static Usage.Option[] |
get(EstateImpl estate) |
static List<Usage.Option> |
getAsList(EstateImpl estate) |
static String |
getAsString(EstateImpl estate,
String valueSeparator) |
static String |
getAsString(EstateImpl estate,
String valueSeparator,
Locale locale) |
Usage.Option |
getOption(String value) |
Usage.Option[] |
getOptions() |
Usage.Option[] |
getOptionsArray(Collection<Usage.Option> options) |
static boolean |
hasOption(EstateImpl estate,
Usage.Option value) |
static void |
put(EstateImpl estate,
String[] value) |
static void |
put(EstateImpl estate,
Usage.Option[] value) |
static void |
putOption(EstateImpl estate,
String value) |
static void |
putOption(EstateImpl estate,
Usage.Option value) |
static void |
removeOption(EstateImpl estate,
String value) |
static void |
removeOption(EstateImpl estate,
Usage.Option value) |
get, getAsString, getAsString, getDefaultValue, getFormattedValue, getOptionTranslation, getOptionTranslation, getValue, getValueList, hasEmptyValue, hasOption, hasOption, parseNode, parseValue, put, put, putOption, putOption, putOption, removeOption, removeOption, removeOption, setValue, setValueList, writeNode
readFromXml, serializeToXml
getAttrib, getAttribGroup, getAttribName, getCountries, getFormattedValue, getFormattedValue, getFormattedValue, getFormattedValue, getFormattedValue, getFormattedValue, getFormattedValue, getGroup, getGroupName, getTagName, getTranslation, getTranslation, isCountrySpecific, isCountrySupported
public Usage()
public Usage(Usage.Option value)
public Usage(Usage.Option[] values)
public static Usage.Option[] get(EstateImpl estate)
public static List<Usage.Option> getAsList(EstateImpl estate)
public static String getAsString(EstateImpl estate, String valueSeparator)
public static String getAsString(EstateImpl estate, String valueSeparator, Locale locale)
public Usage.Option getOption(String value)
getOption
in class ComplexEnumAttrib<Usage.Option>
public Usage.Option[] getOptions()
getOptions
in class ComplexEnumAttrib<Usage.Option>
public Usage.Option[] getOptionsArray(Collection<Usage.Option> options)
getOptionsArray
in class ComplexEnumAttrib<Usage.Option>
public static boolean hasOption(EstateImpl estate, Usage.Option value)
public static void put(EstateImpl estate, Usage.Option[] value)
public static void put(EstateImpl estate, String[] value)
public static void putOption(EstateImpl estate, Usage.Option value)
public static void putOption(EstateImpl estate, String value)
public static void removeOption(EstateImpl estate, Usage.Option value)
public static void removeOption(EstateImpl estate, String value)
Copyright © 2019 OpenEstate. All rights reserved.