public enum TowerType extends java.lang.Enum<TowerType> implements AmenityOrWay
| Enum Constant and Description |
|---|
air_traffic_control |
bell_tower |
climbing |
clock |
communication |
cooling |
defensive |
diving |
hose |
lighting |
minaret |
monitoring |
observation |
pagoda |
radar |
radio |
siren |
watchtower |
| Modifier and Type | Method and Description |
|---|---|
AmenityType |
getAmenityType()
Get amenity type associated with this enumeration; only for types that are amenities.
|
static TowerType |
value(java.lang.String name)
Get the enum value associated with the string name specified.
|
static TowerType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TowerType[] |
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 TowerType communication
public static final TowerType lighting
public static final TowerType monitoring
public static final TowerType clock
public static final TowerType bell_tower
public static final TowerType observation
public static final TowerType defensive
public static final TowerType minaret
public static final TowerType siren
public static final TowerType watchtower
public static final TowerType cooling
public static final TowerType radar
public static final TowerType pagoda
public static final TowerType diving
public static final TowerType hose
public static final TowerType climbing
public static final TowerType air_traffic_control
public static final TowerType radio
public static TowerType[] values()
for (TowerType c : TowerType.values()) System.out.println(c);
public static TowerType 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 TowerType value(java.lang.String name)
name - String to convert into an Enumpublic WayType wayType()
wayType in interface AmenityOrWaypublic AmenityType getAmenityType()
getAmenityType in interface AmenityOrWay