public enum Water extends java.lang.Enum<Water> implements AmenityOrWay, MaybeArea
| Enum Constant and Description |
|---|
canal |
fish_pass |
lagoon |
lake |
lock |
moat |
oxbow |
pond |
reflecting_pool |
reservoir |
river |
stream_pool |
wastewater |
| Modifier and Type | Method and Description |
|---|---|
AmenityType |
getAmenityType()
Get amenity type associated with this enumeration; only for types that are amenities.
|
boolean |
isArea()
Indicates whether this enum type implies an area.
|
static Water |
value(java.lang.String name)
Get the enum value associated with the string name specified.
|
static Water |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Water[] |
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 Water canal
public static final Water fish_pass
public static final Water lake
public static final Water lagoon
public static final Water lock
public static final Water moat
public static final Water oxbow
public static final Water pond
public static final Water reflecting_pool
public static final Water reservoir
public static final Water river
public static final Water stream_pool
public static final Water wastewater
public static Water[] values()
for (Water c : Water.values()) System.out.println(c);
public static Water 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 AmenityOrWaypublic AmenityType getAmenityType()
getAmenityType in interface AmenityOrWaypublic boolean isArea()
public static Water value(java.lang.String name)
name - String to convert into an Enum