public enum LandUse extends java.lang.Enum<LandUse> implements MaybeArea, AmenityOrWay
| Enum Constant and Description |
|---|
allotments |
basin |
brownfield |
cemetary |
commercial |
conservation |
construction |
farm |
farmland |
farmyard |
forest |
garages |
grass |
greenfield |
greenhouse |
industrial |
landfill |
meadow |
military |
orchard |
place_of_worship |
plant_nursery |
port |
quarry |
railway |
recreation |
reservoir |
residential |
retail |
salt_pond |
user_defined |
village_green |
vineyard |
| 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 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 user_defined
public static final LandUse allotments
public static final LandUse basin
public static final LandUse brownfield
public static final LandUse cemetary
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 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
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 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 AmenityOrWaypublic AmenityType getAmenityType()
getAmenityType in interface AmenityOrWaypublic static LandUse value(java.lang.String name)
name - String to convert into an Enum