public static enum Bathroom.Option extends Enum<Bathroom.Option> implements Translatable
Enum Constant and Description |
---|
BATHTUB
with bathtub / mit Badewanne
|
BIDET
with bidet / mit Bidet
|
SHOWER
with shower / mit Dusche
|
URINAL
with urinal / mit Pissoir
|
WASHING_MACHINE
with washing machine / mit Waschmaschine
|
WASHING_MACHINE_CONNECTION
with washing machine connection / mit Anschluss für Waschmaschinen
|
WINDOW
with window / mit Fenster
|
Modifier and Type | Method and Description |
---|---|
String |
getTranslation() |
String |
getTranslation(Locale locale) |
static Bathroom.Option |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Bathroom.Option[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Bathroom.Option SHOWER
public static final Bathroom.Option BATHTUB
public static final Bathroom.Option WINDOW
public static final Bathroom.Option WASHING_MACHINE
public static final Bathroom.Option WASHING_MACHINE_CONNECTION
public static final Bathroom.Option BIDET
public static final Bathroom.Option URINAL
public static Bathroom.Option[] values()
for (Bathroom.Option c : Bathroom.Option.values()) System.out.println(c);
public static Bathroom.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.