public static enum RoomsModifiable.Option extends Enum<RoomsModifiable.Option> implements Translatable
Enum Constant and Description |
---|
NO
no / nein
|
PARTIALLY
partially / teilweise
|
YES
yes / ja
|
Modifier and Type | Method and Description |
---|---|
String |
getTranslation() |
String |
getTranslation(Locale locale) |
static RoomsModifiable.Option |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RoomsModifiable.Option[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoomsModifiable.Option YES
public static final RoomsModifiable.Option NO
public static final RoomsModifiable.Option PARTIALLY
public static RoomsModifiable.Option[] values()
for (RoomsModifiable.Option c : RoomsModifiable.Option.values()) System.out.println(c);
public static RoomsModifiable.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.