public static enum Zone.Option extends Enum<Zone.Option> implements Translatable
Enum Constant and Description |
---|
CITY
city / Ortslage
|
CITY_CENTER
city center / Stadtzentrum
|
COMMERCIAL
commercial zone / Gewerbegebiet
|
DEVELOPMENT
development zone / Neubaugebiet
|
DISTRICT
district / Stadtteil
|
INDUSTRIAL
industrial zone / Industriegebiet
|
MIXED
mixed / gemischt
|
RESIDENTIAL
residential zone / Wohngebiet
|
RURAL
rural area / ländliches Gebiet
|
SUBSIDIARY_CENTER
subsidiary center / Nebenzentrum
|
SUBURBS
suburbs / Stadtrand
|
VILLAGE
village / Siedlung
|
VILLAGE_CENTER
center of the village / Dorfzentrum
|
VILLAGE_EDGE
edge of the village / Dorfrand
|
Modifier and Type | Method and Description |
---|---|
String |
getTranslation() |
String |
getTranslation(Locale locale) |
static Zone.Option |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Zone.Option[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Zone.Option RESIDENTIAL
public static final Zone.Option COMMERCIAL
public static final Zone.Option INDUSTRIAL
public static final Zone.Option MIXED
public static final Zone.Option DEVELOPMENT
public static final Zone.Option CITY
public static final Zone.Option VILLAGE
public static final Zone.Option SUBURBS
public static final Zone.Option DISTRICT
public static final Zone.Option CITY_CENTER
public static final Zone.Option SUBSIDIARY_CENTER
public static final Zone.Option RURAL
public static final Zone.Option VILLAGE_CENTER
public static final Zone.Option VILLAGE_EDGE
public static Zone.Option[] values()
for (Zone.Option c : Zone.Option.values()) System.out.println(c);
public static Zone.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.