public static enum Location.Option extends Enum<Location.Option> implements Translatable
Enum Constant and Description |
---|
FORESTAL_AREA
forestal area / Waldlage
|
HILLSIDE
hillside / Hanglage
|
SEASIDE
seaside / Seelage
|
UNOBSTRUCTABLE
unobstructable / unverbaubar
|
Modifier and Type | Method and Description |
---|---|
String |
getTranslation() |
String |
getTranslation(Locale locale) |
static Location.Option |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Location.Option[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Location.Option HILLSIDE
public static final Location.Option SEASIDE
public static final Location.Option FORESTAL_AREA
public static final Location.Option UNOBSTRUCTABLE
public static Location.Option[] values()
for (Location.Option c : Location.Option.values()) System.out.println(c);
public static Location.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.