Enum DiversionAdviceEnum
- java.lang.Object
-
- java.lang.Enum<DiversionAdviceEnum>
-
- eu.datex2.siri14.schema._1_0._1_0.DiversionAdviceEnum
-
- All Implemented Interfaces:
Serializable,Comparable<DiversionAdviceEnum>
public enum DiversionAdviceEnum extends Enum<DiversionAdviceEnum>
Java class for DiversionAdviceEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="DiversionAdviceEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="compulsoryDiversionInOperation"/> <enumeration value="diversionInOperation"/> <enumeration value="diversionIsNoLongerRecommended"/> <enumeration value="doNotFollowDiversionSigns"/> <enumeration value="followDiversionSigns"/> <enumeration value="followLocalDiversion"/> <enumeration value="followSigns"/> <enumeration value="followSpecialDiversionMarkers"/> <enumeration value="heavyLorriesAreRecommendedToAvoidTheArea"/> <enumeration value="localDriversAreRecommendedToAvoidTheArea"/> <enumeration value="noSuitableDiversionAvailable"/> <enumeration value="other"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPULSORY_DIVERSION_IN_OPERATIONCompulsory diversion in operation.DIVERSION_IN_OPERATIONDiversion in operation.DIVERSION_IS_NO_LONGER_RECOMMENDEDDiversion is no longer recommended.DO_NOT_FOLLOW_DIVERSION_SIGNSDo not follow diversion signs.FOLLOW_DIVERSION_SIGNSFollow diversion signs.FOLLOW_LOCAL_DIVERSIONFollow local diversion.FOLLOW_SIGNSFollow signs.FOLLOW_SPECIAL_DIVERSION_MARKERSFollow special diversion markers.HEAVY_LORRIES_ARE_RECOMMENDED_TO_AVOID_THE_AREAHeavy lorries are recommended to avoid the area.LOCAL_DRIVERS_ARE_RECOMMENDED_TO_AVOID_THE_AREALocal drivers are recommended to avoid the area.NO_SUITABLE_DIVERSION_AVAILABLENo suitable diversion available.OTHEROther than as defined in this enumeration.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DiversionAdviceEnumfromValue(String v)Stringvalue()static DiversionAdviceEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static DiversionAdviceEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMPULSORY_DIVERSION_IN_OPERATION
public static final DiversionAdviceEnum COMPULSORY_DIVERSION_IN_OPERATION
Compulsory diversion in operation.
-
DIVERSION_IN_OPERATION
public static final DiversionAdviceEnum DIVERSION_IN_OPERATION
Diversion in operation.
-
DIVERSION_IS_NO_LONGER_RECOMMENDED
public static final DiversionAdviceEnum DIVERSION_IS_NO_LONGER_RECOMMENDED
Diversion is no longer recommended.
-
DO_NOT_FOLLOW_DIVERSION_SIGNS
public static final DiversionAdviceEnum DO_NOT_FOLLOW_DIVERSION_SIGNS
Do not follow diversion signs.
-
FOLLOW_DIVERSION_SIGNS
public static final DiversionAdviceEnum FOLLOW_DIVERSION_SIGNS
Follow diversion signs.
-
FOLLOW_LOCAL_DIVERSION
public static final DiversionAdviceEnum FOLLOW_LOCAL_DIVERSION
Follow local diversion.
-
FOLLOW_SIGNS
public static final DiversionAdviceEnum FOLLOW_SIGNS
Follow signs.
-
FOLLOW_SPECIAL_DIVERSION_MARKERS
public static final DiversionAdviceEnum FOLLOW_SPECIAL_DIVERSION_MARKERS
Follow special diversion markers.
-
HEAVY_LORRIES_ARE_RECOMMENDED_TO_AVOID_THE_AREA
public static final DiversionAdviceEnum HEAVY_LORRIES_ARE_RECOMMENDED_TO_AVOID_THE_AREA
Heavy lorries are recommended to avoid the area.
-
LOCAL_DRIVERS_ARE_RECOMMENDED_TO_AVOID_THE_AREA
public static final DiversionAdviceEnum LOCAL_DRIVERS_ARE_RECOMMENDED_TO_AVOID_THE_AREA
Local drivers are recommended to avoid the area.
-
NO_SUITABLE_DIVERSION_AVAILABLE
public static final DiversionAdviceEnum NO_SUITABLE_DIVERSION_AVAILABLE
No suitable diversion available.
-
OTHER
public static final DiversionAdviceEnum OTHER
Other than as defined in this enumeration.
-
-
Method Detail
-
values
public static DiversionAdviceEnum[] 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 (DiversionAdviceEnum c : DiversionAdviceEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DiversionAdviceEnum 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 DiversionAdviceEnum fromValue(String v)
-
-