Enum 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 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_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 name
        NullPointerException - if the argument is null
      • value

        public String value()