public enum Water extends java.lang.Enum<Water> implements AmenityOrWay, EnumMayHaveFlags
Enum Constant and Description |
---|
basin |
bay |
canal |
cenote |
ditch |
drain |
fish_pass |
harbour |
lagoon |
lake |
lock |
moat |
oxbow |
pond |
rapids |
reflecting_pool |
reservoir |
river |
stream |
stream_pool |
wastewater |
Modifier and Type | Method and Description |
---|---|
AmenityType |
getAmenityType()
Get amenity type associated with this enumeration; only for types that are amenities.
|
short |
getFlagMask()
Indicates any flag bits implied by this enum type.
|
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 basin
public static final Water bay
public static final Water canal
public static final Water cenote
public static final Water ditch
public static final Water drain
public static final Water fish_pass
public static final Water lake
public static final Water harbour
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 rapids
public static final Water reflecting_pool
public static final Water reservoir
public static final Water river
public static final Water stream
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 AmenityOrWay
public AmenityType getAmenityType()
getAmenityType
in interface AmenityOrWay
public short getFlagMask()
getFlagMask
in interface EnumMayHaveFlags
public static Water value(java.lang.String name)
name
- String to convert into an Enum