public enum ShelterType extends java.lang.Enum<ShelterType> implements AmenityOrWay
| Enum Constant and Description |
|---|
basic_hut |
bomb_shelter |
field_shelter |
fuel_station |
gazebo |
lean_to |
pavilion |
pergola |
picnic_shelter |
public_transport |
rock_shelter |
sun_shelter |
weather_shelter |
wetterpilz |
wildlife_hide |
| Modifier and Type | Method and Description |
|---|---|
AmenityType |
getAmenityType()
Get amenity type associated with this enumeration; only for types that are amenities.
|
static ShelterType |
value(java.lang.String name)
Get the enum value associated with the string name specified.
|
static ShelterType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ShelterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
WayType |
wayType()
Report the WayType for rendering this type of Way.
|
public static final ShelterType public_transport
public static final ShelterType picnic_shelter
public static final ShelterType gazebo
public static final ShelterType weather_shelter
public static final ShelterType lean_to
public static final ShelterType pavilion
public static final ShelterType basic_hut
public static final ShelterType sun_shelter
public static final ShelterType field_shelter
public static final ShelterType rock_shelter
public static final ShelterType pergola
public static final ShelterType wetterpilz
public static final ShelterType bomb_shelter
public static final ShelterType fuel_station
public static final ShelterType wildlife_hide
public static ShelterType[] values()
for (ShelterType c : ShelterType.values()) System.out.println(c);
public static ShelterType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static ShelterType value(java.lang.String name)
name - String to convert into an Enumpublic WayType wayType()
wayType in interface AmenityOrWaypublic AmenityType getAmenityType()
getAmenityType in interface AmenityOrWay