Enum LocationDescriptorEnum
- java.lang.Object
-
- java.lang.Enum<LocationDescriptorEnum>
-
- eu.datex2.siri14.schema._1_0._1_0.LocationDescriptorEnum
-
- All Implemented Interfaces:
Serializable,Comparable<LocationDescriptorEnum>
public enum LocationDescriptorEnum extends Enum<LocationDescriptorEnum>
Java class for LocationDescriptorEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="LocationDescriptorEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="aroundABendInRoad"/> <enumeration value="atMotorwayInterchange"/> <enumeration value="atRestArea"/> <enumeration value="atServiceArea"/> <enumeration value="atTollPlaza"/> <enumeration value="atTunnelEntryOrExit"/> <enumeration value="inGallery"/> <enumeration value="inTheCentre"/> <enumeration value="inTheOppositeDirection"/> <enumeration value="inTunnel"/> <enumeration value="onBorder"/> <enumeration value="onBridge"/> <enumeration value="onConnector"/> <enumeration value="onIceRoad"/> <enumeration value="onLevelCrossing"/> <enumeration value="onLinkRoad"/> <enumeration value="onPass"/> <enumeration value="onRoundabout"/> <enumeration value="onTheLeft"/> <enumeration value="onTheRight"/> <enumeration value="onTheRoadway"/> <enumeration value="overCrestOfHill"/> <enumeration value="withinJunction"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AROUND_A_BEND_IN_ROADAround a bend in the road.AT_MOTORWAY_INTERCHANGEAt a motorway interchange.AT_REST_AREAAt rest area off the carriageway.AT_SERVICE_AREAAt service area.AT_TOLL_PLAZAAt toll plaza.AT_TUNNEL_ENTRY_OR_EXITAt entry or exit of tunnel.IN_GALLERYIn galley.IN_THE_CENTREIn the centre of the roadway.IN_THE_OPPOSITE_DIRECTIONIn the opposite direction.IN_TUNNELIn tunnel.ON_BORDEROn border crossing.ON_BRIDGEOn bridge.ON_CONNECTOROn connecting carriageway between two different roads or road sections.ON_ICE_ROADOn ice road.ON_LEVEL_CROSSINGOn level-crossing.ON_LINK_ROADOn road section linking two different roads.ON_PASSOn mountain pass.ON_ROUNDABOUTOn roundabout.ON_THE_LEFTOn the left of the roadway.ON_THE_RIGHTOn the right of the roadway.ON_THE_ROADWAYOn the roadway.OVER_CREST_OF_HILLOver the crest of a hill.WITHIN_JUNCTIONOn the main carriageway within a junction between exit slip road and entry slip road.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LocationDescriptorEnumfromValue(String v)Stringvalue()static LocationDescriptorEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static LocationDescriptorEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AROUND_A_BEND_IN_ROAD
public static final LocationDescriptorEnum AROUND_A_BEND_IN_ROAD
Around a bend in the road.
-
AT_MOTORWAY_INTERCHANGE
public static final LocationDescriptorEnum AT_MOTORWAY_INTERCHANGE
At a motorway interchange.
-
AT_REST_AREA
public static final LocationDescriptorEnum AT_REST_AREA
At rest area off the carriageway.
-
AT_SERVICE_AREA
public static final LocationDescriptorEnum AT_SERVICE_AREA
At service area.
-
AT_TOLL_PLAZA
public static final LocationDescriptorEnum AT_TOLL_PLAZA
At toll plaza.
-
AT_TUNNEL_ENTRY_OR_EXIT
public static final LocationDescriptorEnum AT_TUNNEL_ENTRY_OR_EXIT
At entry or exit of tunnel.
-
IN_GALLERY
public static final LocationDescriptorEnum IN_GALLERY
In galley.
-
IN_THE_CENTRE
public static final LocationDescriptorEnum IN_THE_CENTRE
In the centre of the roadway.
-
IN_THE_OPPOSITE_DIRECTION
public static final LocationDescriptorEnum IN_THE_OPPOSITE_DIRECTION
In the opposite direction.
-
IN_TUNNEL
public static final LocationDescriptorEnum IN_TUNNEL
In tunnel.
-
ON_BORDER
public static final LocationDescriptorEnum ON_BORDER
On border crossing.
-
ON_BRIDGE
public static final LocationDescriptorEnum ON_BRIDGE
On bridge.
-
ON_CONNECTOR
public static final LocationDescriptorEnum ON_CONNECTOR
On connecting carriageway between two different roads or road sections.
-
ON_ICE_ROAD
public static final LocationDescriptorEnum ON_ICE_ROAD
On ice road.
-
ON_LEVEL_CROSSING
public static final LocationDescriptorEnum ON_LEVEL_CROSSING
On level-crossing.
-
ON_LINK_ROAD
public static final LocationDescriptorEnum ON_LINK_ROAD
On road section linking two different roads.
-
ON_PASS
public static final LocationDescriptorEnum ON_PASS
On mountain pass.
-
ON_ROUNDABOUT
public static final LocationDescriptorEnum ON_ROUNDABOUT
On roundabout.
-
ON_THE_LEFT
public static final LocationDescriptorEnum ON_THE_LEFT
On the left of the roadway.
-
ON_THE_RIGHT
public static final LocationDescriptorEnum ON_THE_RIGHT
On the right of the roadway.
-
ON_THE_ROADWAY
public static final LocationDescriptorEnum ON_THE_ROADWAY
On the roadway.
-
OVER_CREST_OF_HILL
public static final LocationDescriptorEnum OVER_CREST_OF_HILL
Over the crest of a hill.
-
WITHIN_JUNCTION
public static final LocationDescriptorEnum WITHIN_JUNCTION
On the main carriageway within a junction between exit slip road and entry slip road.
-
-
Method Detail
-
values
public static LocationDescriptorEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LocationDescriptorEnum c : LocationDescriptorEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LocationDescriptorEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
value
public String value()
-
fromValue
public static LocationDescriptorEnum fromValue(String v)
-
-