public enum LandUse extends java.lang.Enum<LandUse> implements EnumMayHaveFlags, AmenityOrWay
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 LandUse |
value(java.lang.String name)
Get the enum value associated with the string name specified.
|
static LandUse |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LandUse[] |
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 LandUse allotments
public static final LandUse basin
public static final LandUse brownfield
public static final LandUse cemetery
public static final LandUse commercial
public static final LandUse construction
public static final LandUse farm
public static final LandUse farmland
public static final LandUse farmyard
public static final LandUse forest
public static final LandUse garages
public static final LandUse grass
public static final LandUse greenfield
public static final LandUse greenhouse
public static final LandUse greenhouse_horticulture
public static final LandUse industrial
public static final LandUse landfill
public static final LandUse meadow
public static final LandUse military
public static final LandUse orchard
public static final LandUse place_of_worship
public static final LandUse plant_nursery
public static final LandUse quarry
public static final LandUse railway
public static final LandUse recreation_ground
public static final LandUse reservoir
public static final LandUse residential
public static final LandUse retail
public static final LandUse salt_pond
public static final LandUse village_green
public static final LandUse vineyard
public static final LandUse conservation
public static final LandUse port
public static final LandUse logging
public static final LandUse pond
public static final LandUse aquaculture
public static LandUse[] values()
for (LandUse c : LandUse.values()) System.out.println(c);
public static LandUse 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 LandUse value(java.lang.String name)
name
- String to convert into an Enumpublic short getFlagMask()
getFlagMask
in interface EnumMayHaveFlags