public static enum Usage.Option extends Enum<Usage.Option> implements Translatable
| Enum Constant and Description |
|---|
COMMERCIAL
commercial / Gewerbe
|
GARDEN
garden / Garten
|
INVESTMENT
investment / Anlage / Rendite
|
LEISURE
leisure / Freizeit
|
MISC
miscellaneous / Sonstiges
|
RESIDENTIAL
habitation / Wohnen
|
| Modifier and Type | Method and Description |
|---|---|
String |
getTranslation() |
String |
getTranslation(Locale locale) |
static Usage.Option |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Usage.Option[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Usage.Option INVESTMENT
public static final Usage.Option RESIDENTIAL
public static final Usage.Option COMMERCIAL
public static final Usage.Option LEISURE
public static final Usage.Option GARDEN
public static final Usage.Option MISC
public static Usage.Option[] values()
for (Usage.Option c : Usage.Option.values()) System.out.println(c);
public static Usage.Option valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getTranslation()
getTranslation in interface Translatablepublic String getTranslation(Locale locale)
getTranslation in interface TranslatableCopyright © 2019 OpenEstate. All rights reserved.