public static enum Fireplace.Option extends Enum<Fireplace.Option> implements Translatable
Enum Constant and Description |
---|
BRICK_BUILT_OVEN
brick-built oven / gemauerter Ofen
|
OPEN_FIREPLACE
open fireplace / offener Kamin
|
STORAGE_HEATER
storage heater / Speicherofen
|
STOVE
stove / Kaminofen
|
TILED_STOVE
tiled stove / Kachelofen
|
Modifier and Type | Method and Description |
---|---|
String |
getTranslation() |
String |
getTranslation(Locale locale) |
static Fireplace.Option |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Fireplace.Option[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Fireplace.Option TILED_STOVE
public static final Fireplace.Option STOVE
public static final Fireplace.Option STORAGE_HEATER
public static final Fireplace.Option OPEN_FIREPLACE
public static final Fireplace.Option BRICK_BUILT_OVEN
public static Fireplace.Option[] values()
for (Fireplace.Option c : Fireplace.Option.values()) System.out.println(c);
public static Fireplace.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.