Enum ReroutingTypeEnum
- java.lang.Object
-
- java.lang.Enum<ReroutingTypeEnum>
-
- eu.datex2.siri13.schema._1_0._1_0.ReroutingTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<ReroutingTypeEnum>
public enum ReroutingTypeEnum extends Enum<ReroutingTypeEnum>
Java class for ReroutingTypeEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ReroutingTypeEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="reroutingUseEntry"/> <enumeration value="reroutingUseExit"/> <enumeration value="reroutingUseIntersectionOrJunction"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description REROUTING_USE_ENTRYRerouted traffic is to use the specified entry onto the identified road to commence the alternative route.REROUTING_USE_EXITRerouted traffic is to use the specified exit from the identified road to commence the alternative route.REROUTING_USE_INTERSECTION_OR_JUNCTIONRerouted traffic is to use the specified intersection or junction to commence the alternative route.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReroutingTypeEnumfromValue(String v)Stringvalue()static ReroutingTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static ReroutingTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REROUTING_USE_ENTRY
public static final ReroutingTypeEnum REROUTING_USE_ENTRY
Rerouted traffic is to use the specified entry onto the identified road to commence the alternative route.
-
REROUTING_USE_EXIT
public static final ReroutingTypeEnum REROUTING_USE_EXIT
Rerouted traffic is to use the specified exit from the identified road to commence the alternative route.
-
REROUTING_USE_INTERSECTION_OR_JUNCTION
public static final ReroutingTypeEnum REROUTING_USE_INTERSECTION_OR_JUNCTION
Rerouted traffic is to use the specified intersection or junction to commence the alternative route.
-
-
Method Detail
-
values
public static ReroutingTypeEnum[] 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 (ReroutingTypeEnum c : ReroutingTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReroutingTypeEnum 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 ReroutingTypeEnum fromValue(String v)
-
-