Enum TrafficRestrictionTypeEnum

  • All Implemented Interfaces:
    Serializable, Comparable<TrafficRestrictionTypeEnum>

    public enum TrafficRestrictionTypeEnum
    extends Enum<TrafficRestrictionTypeEnum>

    Java class for TrafficRestrictionTypeEnum.

    The following schema fragment specifies the expected content contained within this class.

     <simpleType name="TrafficRestrictionTypeEnum">
       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
         <enumeration value="carriagewayBlocked"/>
         <enumeration value="carriagewayPartiallyObstructed"/>
         <enumeration value="laneDeviated"/>
         <enumeration value="lanesBlocked"/>
         <enumeration value="lanesPartiallyObstructed"/>
         <enumeration value="roadBlocked"/>
         <enumeration value="roadPartiallyObstructed"/>
       </restriction>
     </simpleType>
     
    • Enum Constant Detail

      • CARRIAGEWAY_BLOCKED

        public static final TrafficRestrictionTypeEnum CARRIAGEWAY_BLOCKED
        The carriageway is totally obstructed in the specified direction due to an unplanned event.
      • CARRIAGEWAY_PARTIALLY_OBSTRUCTED

        public static final TrafficRestrictionTypeEnum CARRIAGEWAY_PARTIALLY_OBSTRUCTED
        The carriageway is partially obstructed in the specified direction due to an unplanned event.
      • LANE_DEVIATED

        public static final TrafficRestrictionTypeEnum LANE_DEVIATED
        Traffic in the specified direction is required to deviate from the normal lane(s) due to an unplanned event (e.g. via hard shoulder).
      • LANES_BLOCKED

        public static final TrafficRestrictionTypeEnum LANES_BLOCKED
        One or more lanes is totally obstructed in the specified direction due to an unplanned event.
      • LANES_PARTIALLY_OBSTRUCTED

        public static final TrafficRestrictionTypeEnum LANES_PARTIALLY_OBSTRUCTED
        One or more lanes is partially obstructed in the specified direction due to an unplanned event.
      • ROAD_BLOCKED

        public static final TrafficRestrictionTypeEnum ROAD_BLOCKED
        The road is totally obstructed, for all vehicles in both directions, due to an unplanned event.
      • ROAD_PARTIALLY_OBSTRUCTED

        public static final TrafficRestrictionTypeEnum ROAD_PARTIALLY_OBSTRUCTED
        The road is partially obstructed in both directions due to an unplanned event.
    • Method Detail

      • values

        public static TrafficRestrictionTypeEnum[] 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 (TrafficRestrictionTypeEnum c : TrafficRestrictionTypeEnum.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TrafficRestrictionTypeEnum 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()