public static enum Equipment.Option extends Enum<Equipment.Option> implements Translatable
Enum Constant and Description |
---|
BASIC
basic / einfach
|
EXCLUSIVE
exclusive / gehoben
|
LUXURY
luxury / Luxus
|
STANDARD
standard / normal
|
Modifier and Type | Method and Description |
---|---|
String |
getTranslation() |
String |
getTranslation(Locale locale) |
static Equipment.Option |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Equipment.Option[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Equipment.Option BASIC
public static final Equipment.Option STANDARD
public static final Equipment.Option EXCLUSIVE
public static final Equipment.Option LUXURY
public static Equipment.Option[] values()
for (Equipment.Option c : Equipment.Option.values()) System.out.println(c);
public static Equipment.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 Translatable
public String getTranslation(Locale locale)
getTranslation
in interface Translatable
Copyright © 2019 OpenEstate. All rights reserved.