Enum CarriagewayEnum
- java.lang.Object
-
- java.lang.Enum<CarriagewayEnum>
-
- eu.datex2.siri20.schema._2_0rc1._2_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
-
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
-
ENTRY_SLIP_ROAD
public static final CarriagewayEnum ENTRY_SLIP_ROAD
-
EXIT_SLIP_ROAD
public static final CarriagewayEnum EXIT_SLIP_ROAD
-
FLYOVER
public static final CarriagewayEnum FLYOVER
-
LEFT_HAND_FEEDER_ROAD
public static final CarriagewayEnum LEFT_HAND_FEEDER_ROAD
-
LEFT_HAND_PARALLEL_CARRIAGEWAY
public static final CarriagewayEnum LEFT_HAND_PARALLEL_CARRIAGEWAY
-
MAIN_CARRIAGEWAY
public static final CarriagewayEnum MAIN_CARRIAGEWAY
-
OPPOSITE_CARRIAGEWAY
public static final CarriagewayEnum OPPOSITE_CARRIAGEWAY
-
PARALLEL_CARRIAGEWAY
public static final CarriagewayEnum PARALLEL_CARRIAGEWAY
-
RIGHT_HAND_FEEDER_ROAD
public static final CarriagewayEnum RIGHT_HAND_FEEDER_ROAD
-
RIGHT_HAND_PARALLEL_CARRIAGEWAY
public static final CarriagewayEnum RIGHT_HAND_PARALLEL_CARRIAGEWAY
-
SERVICE_ROAD
public static final CarriagewayEnum SERVICE_ROAD
-
SLIP_ROADS
public static final CarriagewayEnum SLIP_ROADS
-
UNDERPASS
public static final CarriagewayEnum 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)
-
-