Enum TrafficDestinationTypeEnum

  • All Implemented Interfaces:
    Serializable, Comparable<TrafficDestinationTypeEnum>

    public enum TrafficDestinationTypeEnum
    extends Enum<TrafficDestinationTypeEnum>

    Java class for TrafficDestinationTypeEnum.

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

     <simpleType name="TrafficDestinationTypeEnum">
       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
         <enumeration value="destinedForAirport"/>
         <enumeration value="destinedForFerryService"/>
         <enumeration value="destinedForRailService"/>
         <enumeration value="throughTraffic"/>
       </restriction>
     </simpleType>
     
    • Enum Constant Detail

      • DESTINED_FOR_FERRY_SERVICE

        public static final TrafficDestinationTypeEnum DESTINED_FOR_FERRY_SERVICE
        Vehicle(s) destined for the ferry service.
      • DESTINED_FOR_RAIL_SERVICE

        public static final TrafficDestinationTypeEnum DESTINED_FOR_RAIL_SERVICE
        Vehicle(s) destined for the rail service.
      • THROUGH_TRAFFIC

        public static final TrafficDestinationTypeEnum THROUGH_TRAFFIC
        Vehicle(s) not destined for local town, city or built up area but for transit though the area.
    • Method Detail

      • values

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

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