Enum CarriagewayEnum
- java.lang.Object
-
- java.lang.Enum<CarriagewayEnum>
-
- eu.datex2.siri13.schema._1_0._1_0.CarriagewayEnum
-
- All Implemented Interfaces:
Serializable,Comparable<CarriagewayEnum>
public enum CarriagewayEnum extends Enum<CarriagewayEnum>
Java class for CarriagewayEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="CarriagewayEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="connectingCarriageway"/> <enumeration value="entrySlipRoad"/> <enumeration value="exitSlipRoad"/> <enumeration value="flyover"/> <enumeration value="leftHandFeederRoad"/> <enumeration value="leftHandParallelCarriageway"/> <enumeration value="mainCarriageway"/> <enumeration value="oppositeCarriageway"/> <enumeration value="parallelCarriageway"/> <enumeration value="rightHandFeederRoad"/> <enumeration value="rightHandParallelCarriageway"/> <enumeration value="serviceRoad"/> <enumeration value="slipRoads"/> <enumeration value="underpass"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONNECTING_CARRIAGEWAYOn the connecting carriageway.ENTRY_SLIP_ROADOn the entry slip road.EXIT_SLIP_ROADOn the exit slip road.FLYOVEROn the flyover.LEFT_HAND_FEEDER_ROADOn the left hand feeder road.LEFT_HAND_PARALLEL_CARRIAGEWAYOn the left hand parrallel carriageway.MAIN_CARRIAGEWAYOn the main carriageway.OPPOSITE_CARRIAGEWAYOn the opposite carriageway.PARALLEL_CARRIAGEWAYOn the adjacent parallel carriageway.RIGHT_HAND_FEEDER_ROADOn the right hand feeder road.RIGHT_HAND_PARALLEL_CARRIAGEWAYOn the right hand parallel carriageway.SERVICE_ROADOn the adjacent service road.SLIP_ROADSOn the slip roads.UNDERPASSOn the underpass.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CarriagewayEnumfromValue(String v)Stringvalue()static CarriagewayEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static CarriagewayEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONNECTING_CARRIAGEWAY
public static final CarriagewayEnum CONNECTING_CARRIAGEWAY
On the connecting carriageway.
-
ENTRY_SLIP_ROAD
public static final CarriagewayEnum ENTRY_SLIP_ROAD
On the entry slip road.
-
EXIT_SLIP_ROAD
public static final CarriagewayEnum EXIT_SLIP_ROAD
On the exit slip road.
-
FLYOVER
public static final CarriagewayEnum FLYOVER
On the flyover.
-
LEFT_HAND_FEEDER_ROAD
public static final CarriagewayEnum LEFT_HAND_FEEDER_ROAD
On the left hand feeder road.
-
LEFT_HAND_PARALLEL_CARRIAGEWAY
public static final CarriagewayEnum LEFT_HAND_PARALLEL_CARRIAGEWAY
On the left hand parrallel carriageway.
-
MAIN_CARRIAGEWAY
public static final CarriagewayEnum MAIN_CARRIAGEWAY
On the main carriageway.
-
OPPOSITE_CARRIAGEWAY
public static final CarriagewayEnum OPPOSITE_CARRIAGEWAY
On the opposite carriageway.
-
PARALLEL_CARRIAGEWAY
public static final CarriagewayEnum PARALLEL_CARRIAGEWAY
On the adjacent parallel carriageway.
-
RIGHT_HAND_FEEDER_ROAD
public static final CarriagewayEnum RIGHT_HAND_FEEDER_ROAD
On the right hand feeder road.
-
RIGHT_HAND_PARALLEL_CARRIAGEWAY
public static final CarriagewayEnum RIGHT_HAND_PARALLEL_CARRIAGEWAY
On the right hand parallel carriageway.
-
SERVICE_ROAD
public static final CarriagewayEnum SERVICE_ROAD
On the adjacent service road.
-
SLIP_ROADS
public static final CarriagewayEnum SLIP_ROADS
On the slip roads.
-
UNDERPASS
public static final CarriagewayEnum UNDERPASS
On the underpass.
-
-
Method Detail
-
values
public static CarriagewayEnum[] 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 (CarriagewayEnum c : CarriagewayEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CarriagewayEnum 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 CarriagewayEnum fromValue(String v)
-
-