public enum OpenlrFormOfWayEnum extends java.lang.Enum<OpenlrFormOfWayEnum>
Java class for OpenlrFormOfWayEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="OpenlrFormOfWayEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="undefined"/> <enumeration value="motorway"/> <enumeration value="multipleCarriageway"/> <enumeration value="singleCarriageway"/> <enumeration value="roundabout"/> <enumeration value="slipRoad"/> <enumeration value="trafficSquare"/> <enumeration value="other"/> </restriction> </simpleType>
Enum Constant and Description |
---|
MOTORWAY
motorway
|
MULTIPLE_CARRIAGEWAY
multipleCarrigeway
|
OTHER
other
|
ROUNDABOUT
roadabout
|
SINGLE_CARRIAGEWAY
single carrigeway
|
SLIP_ROAD
sliproad
|
TRAFFIC_SQUARE
traffic square
|
UNDEFINED
undefined
|
Modifier and Type | Method and Description |
---|---|
static OpenlrFormOfWayEnum |
fromValue(java.lang.String v) |
java.lang.String |
value() |
static OpenlrFormOfWayEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OpenlrFormOfWayEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpenlrFormOfWayEnum UNDEFINED
public static final OpenlrFormOfWayEnum MOTORWAY
public static final OpenlrFormOfWayEnum MULTIPLE_CARRIAGEWAY
public static final OpenlrFormOfWayEnum SINGLE_CARRIAGEWAY
public static final OpenlrFormOfWayEnum ROUNDABOUT
public static final OpenlrFormOfWayEnum SLIP_ROAD
public static final OpenlrFormOfWayEnum TRAFFIC_SQUARE
public static final OpenlrFormOfWayEnum OTHER
public static OpenlrFormOfWayEnum[] values()
for (OpenlrFormOfWayEnum c : OpenlrFormOfWayEnum.values()) System.out.println(c);
public static OpenlrFormOfWayEnum 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 java.lang.String value()
public static OpenlrFormOfWayEnum fromValue(java.lang.String v)