Enum SpeedAdviceEnum

  • All Implemented Interfaces:
    Serializable, Comparable<SpeedAdviceEnum>

    public enum SpeedAdviceEnum
    extends Enum<SpeedAdviceEnum>

    Java class for SpeedAdviceEnum.

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

     <simpleType name="SpeedAdviceEnum">
       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
         <enumeration value="mandatorySpeedLimitInForce"/>
         <enumeration value="observeRecommendedSpeed"/>
         <enumeration value="observeSpeedLimits"/>
         <enumeration value="policeSpeedChecksInOperation"/>
         <enumeration value="reduceYourSpeed"/>
         <enumeration value="speedLimitInForceForHeavyVehicles"/>
         <enumeration value="other"/>
       </restriction>
     </simpleType>
     
    • Enum Constant Detail

      • MANDATORY_SPEED_LIMIT_IN_FORCE

        public static final SpeedAdviceEnum MANDATORY_SPEED_LIMIT_IN_FORCE
        Mandatory speed limit in force.
      • OBSERVE_RECOMMENDED_SPEED

        public static final SpeedAdviceEnum OBSERVE_RECOMMENDED_SPEED
        Observe recommended speed.
      • OBSERVE_SPEED_LIMITS

        public static final SpeedAdviceEnum OBSERVE_SPEED_LIMITS
        Observe speed limits.
      • POLICE_SPEED_CHECKS_IN_OPERATION

        public static final SpeedAdviceEnum POLICE_SPEED_CHECKS_IN_OPERATION
        Police speed checks in operation.
      • REDUCE_YOUR_SPEED

        public static final SpeedAdviceEnum REDUCE_YOUR_SPEED
        Reduce your speed.
      • SPEED_LIMIT_IN_FORCE_FOR_HEAVY_VEHICLES

        public static final SpeedAdviceEnum SPEED_LIMIT_IN_FORCE_FOR_HEAVY_VEHICLES
        Speed limit in force for heavy vehicles.
      • OTHER

        public static final SpeedAdviceEnum OTHER
        Other than as defined in this enumeration.
    • Method Detail

      • values

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

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