public static enum BuildingStyle.Option extends Enum<BuildingStyle.Option> implements Translatable
Enum Constant and Description |
---|
PREFABRICATED_HOUSE
prefabricated house / Fertighaus
|
SOLID_BUILDING
solid building / Massivhaus
|
Modifier and Type | Method and Description |
---|---|
String |
getTranslation() |
String |
getTranslation(Locale locale) |
static BuildingStyle.Option |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BuildingStyle.Option[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BuildingStyle.Option PREFABRICATED_HOUSE
public static final BuildingStyle.Option SOLID_BUILDING
public static BuildingStyle.Option[] values()
for (BuildingStyle.Option c : BuildingStyle.Option.values()) System.out.println(c);
public static BuildingStyle.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.