public static enum GenderOfRequestedFlatmates.Option extends Enum<GenderOfRequestedFlatmates.Option> implements Translatable
| Enum Constant and Description |
|---|
FEMALE
female / Frau
|
INDIFFERENT
indifferent / egal
|
MALE
male / Mann
|
| Modifier and Type | Method and Description |
|---|---|
String |
getTranslation() |
String |
getTranslation(Locale locale) |
static GenderOfRequestedFlatmates.Option |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GenderOfRequestedFlatmates.Option[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GenderOfRequestedFlatmates.Option FEMALE
public static final GenderOfRequestedFlatmates.Option MALE
public static final GenderOfRequestedFlatmates.Option INDIFFERENT
public static GenderOfRequestedFlatmates.Option[] values()
for (GenderOfRequestedFlatmates.Option c : GenderOfRequestedFlatmates.Option.values()) System.out.println(c);
public static GenderOfRequestedFlatmates.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.