|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Tourism>
org.ka2ddo.yaac.osm.Tourism
public enum Tourism
Supported types of the OSM tourism="*" attribute. See the definition of tourism on the OpenStreetMap wiki.
Enum Constant Summary | |
---|---|
alpine_hut
|
|
apartment
|
|
artwork
|
|
attraction
|
|
camp_site
|
|
caravan_site
|
|
chalet
|
|
gallery
|
|
guest_house
|
|
hostel
|
|
hotel
|
|
information
|
|
motel
|
|
museum
|
|
picnic_site
|
|
theme_park
|
|
user_defined
|
|
viewpoint
|
|
wilderness_hut
|
|
yes
Flag providing no additional information except that this is of some interest to tourists. |
|
zoo
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Tourism user_defined
public static final Tourism alpine_hut
public static final Tourism apartment
public static final Tourism attraction
public static final Tourism artwork
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
Method Detail |
---|
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 name
java.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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |