public enum Boundary extends java.lang.Enum<Boundary> implements AmenityOrWay
| Modifier and Type | Method and Description |
|---|---|
AmenityType |
getAmenityType()
Get amenity type associated with this enumeration; only for types that are amenities.
|
static Boundary |
value(java.lang.String name)
Get the enum value associated with the string name specified.
|
static Boundary |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Boundary[] |
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 Boundary user_defined
public static final Boundary landuse
public static final Boundary subdivision
public static final Boundary historic
public static final Boundary neighborhood
public static final Boundary administrative
public static final Boundary maritime
public static final Boundary national_park
public static final Boundary protected_area
public static final Boundary timezone
public static final Boundary landarea
public static final Boundary aboriginal_lands
public static final Boundary border_zone
public static final Boundary census
public static final Boundary forest
public static final Boundary hazard
public static final Boundary health
public static final Boundary limited_traffic_zone
public static final Boundary local_authority
public static final Boundary low_emission_zone
public static final Boundary marker
public static final Boundary place
public static final Boundary political
public static final Boundary postal_code
public static final Boundary religious_administration
public static final Boundary special_economic_zone
public static final Boundary statistical
public static final Boundary disputed
public static Boundary[] values()
for (Boundary c : Boundary.values()) System.out.println(c);
public static Boundary 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 Boundary value(java.lang.String name)
name - String to convert into an Enum