public enum Tourism extends java.lang.Enum<Tourism> implements AmenityOrWay
Enum Constant and Description |
---|
alpine_hut |
apartment |
aquarium |
artwork |
attraction |
camp_pitch |
camp_site |
caravan_site |
chalet |
gallery |
guest_house |
hostel |
hotel |
information |
motel |
museum |
picnic_site |
theme_park |
viewpoint |
wilderness_hut |
yes
Flag providing no additional information except that this is of some interest to tourists.
|
zoo |
Modifier and Type | Method and Description |
---|---|
AmenityType |
getAmenityType()
Report the amenity type (if any) associated with this tourism interest.
|
static Tourism |
value(java.lang.String name)
Get the enum value associated with the string name specified.
|
static Tourism |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Tourism[] |
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 Tourism alpine_hut
public static final Tourism apartment
public static final Tourism aquarium
public static final Tourism artwork
public static final Tourism attraction
public static final Tourism camp_pitch
public static final Tourism camp_site
public static final Tourism caravan_site
public static final Tourism chalet
public static final Tourism gallery
public static final Tourism guest_house
public static final Tourism hostel
public static final Tourism hotel
public static final Tourism information
public static final Tourism motel
public static final Tourism museum
public static final Tourism picnic_site
public static final Tourism theme_park
public static final Tourism viewpoint
public static final Tourism wilderness_hut
public static final Tourism zoo
public static final Tourism yes
public static Tourism[] values()
for (Tourism c : Tourism.values()) System.out.println(c);
public static Tourism 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 WayType wayType()
wayType
in interface AmenityOrWay
public AmenityType getAmenityType()
getAmenityType
in interface AmenityOrWay
public static Tourism value(java.lang.String name)
name
- String to convert into an Enum