public enum DirectionEnum extends java.lang.Enum<DirectionEnum>
Java class for DirectionEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="DirectionEnum">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="allDirections"/>
<enumeration value="bothWays"/>
<enumeration value="clockwise"/>
<enumeration value="anticlockwise"/>
<enumeration value="innerRing"/>
<enumeration value="outerRing"/>
<enumeration value="northBound"/>
<enumeration value="northEastBound"/>
<enumeration value="eastBound"/>
<enumeration value="southEastBound"/>
<enumeration value="southBound"/>
<enumeration value="southWestBound"/>
<enumeration value="westBound"/>
<enumeration value="northWestBound"/>
<enumeration value="inboundTowardsTown"/>
<enumeration value="outboundFromTown"/>
<enumeration value="unknown"/>
<enumeration value="opposite"/>
<enumeration value="other"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ALL_DIRECTIONS
All directions (where more than two are applicable) at this point on the road network.
|
ANTICLOCKWISE
Anti-clockwise.
|
BOTH_WAYS
Both directions that are applicable at this point on the road network.
|
CLOCKWISE
Clockwise.
|
EAST_BOUND
East bound general direction.
|
INBOUND_TOWARDS_TOWN
Heading towards town centre direction of travel.
|
INNER_RING
Inner ring direction.
|
NORTH_BOUND
North bound general direction.
|
NORTH_EAST_BOUND
North east bound general direction.
|
NORTH_WEST_BOUND
North west bound general direction.
|
OPPOSITE
Opposite direction to the normal direction of flow at this point on the road network.
|
OTHER
Other than as defined in this enumeration.
|
OUTBOUND_FROM_TOWN
Heading out of or away from the town centre direction of travel.
|
OUTER_RING
Outer ring direction.
|
SOUTH_BOUND
South bound general direction.
|
SOUTH_EAST_BOUND
South east bound general direction.
|
SOUTH_WEST_BOUND
South west bound general direction.
|
UNKNOWN
Direction is unknown.
|
WEST_BOUND
West bound general direction.
|
| Modifier and Type | Method and Description |
|---|---|
static DirectionEnum |
fromValue(java.lang.String v) |
java.lang.String |
value() |
static DirectionEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DirectionEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DirectionEnum ALL_DIRECTIONS
public static final DirectionEnum BOTH_WAYS
public static final DirectionEnum CLOCKWISE
public static final DirectionEnum ANTICLOCKWISE
public static final DirectionEnum INNER_RING
public static final DirectionEnum OUTER_RING
public static final DirectionEnum NORTH_BOUND
public static final DirectionEnum NORTH_EAST_BOUND
public static final DirectionEnum EAST_BOUND
public static final DirectionEnum SOUTH_EAST_BOUND
public static final DirectionEnum SOUTH_BOUND
public static final DirectionEnum SOUTH_WEST_BOUND
public static final DirectionEnum WEST_BOUND
public static final DirectionEnum NORTH_WEST_BOUND
public static final DirectionEnum INBOUND_TOWARDS_TOWN
public static final DirectionEnum OUTBOUND_FROM_TOWN
public static final DirectionEnum UNKNOWN
public static final DirectionEnum OPPOSITE
public static final DirectionEnum OTHER
public static DirectionEnum[] values()
for (DirectionEnum c : DirectionEnum.values()) System.out.println(c);
public static DirectionEnum 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 DirectionEnum fromValue(java.lang.String v)