Enum TrafficDestinationTypeEnum
- java.lang.Object
-
- java.lang.Enum<TrafficDestinationTypeEnum>
-
- eu.datex2.siri14.schema._1_0._1_0.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 Summary
Enum Constants Enum Constant Description DESTINED_FOR_AIRPORTVehicle(s) destined for the airport.DESTINED_FOR_FERRY_SERVICEVehicle(s) destined for the ferry service.DESTINED_FOR_RAIL_SERVICEVehicle(s) destined for the rail service.THROUGH_TRAFFICVehicle(s) not destined for local town, city or built up area but for transit though the area.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TrafficDestinationTypeEnumfromValue(String v)Stringvalue()static TrafficDestinationTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static TrafficDestinationTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DESTINED_FOR_AIRPORT
public static final TrafficDestinationTypeEnum DESTINED_FOR_AIRPORT
Vehicle(s) destined for the airport.
-
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 nameNullPointerException- if the argument is null
-
value
public String value()
-
fromValue
public static TrafficDestinationTypeEnum fromValue(String v)
-
-