Enum AlertCDirectionEnum

  • All Implemented Interfaces:
    Serializable, Comparable<AlertCDirectionEnum>

    public enum AlertCDirectionEnum
    extends Enum<AlertCDirectionEnum>

    Java class for AlertCDirectionEnum.

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

     <simpleType name="AlertCDirectionEnum">
       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
         <enumeration value="both"/>
         <enumeration value="negative"/>
         <enumeration value="positive"/>
         <enumeration value="unknown"/>
       </restriction>
     </simpleType>
     
    • Enum Constant Detail

      • BOTH

        public static final AlertCDirectionEnum BOTH
        Indicates that both directions of traffic flow are affected by the situation or relate to the traffic data.
      • NEGATIVE

        public static final AlertCDirectionEnum NEGATIVE
        The direction of traffic flow concerned by a situation or traffic data. In Alert C the negative direction corresponds to the negative offset direction within the RDS location table.
      • POSITIVE

        public static final AlertCDirectionEnum POSITIVE
        The direction of traffic flow concerned by a situation or traffic data. In Alert C the positive direction corresponds to the positive offset direction within the RDS location table.
    • Method Detail

      • values

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

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