public enum TrafficTypeEnum extends Enum<TrafficTypeEnum>
Java class for TrafficTypeEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="TrafficTypeEnum">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="accessOnlyTraffic"/>
<enumeration value="destinedForAirport"/>
<enumeration value="destinedForAirportArrivals"/>
<enumeration value="destinedForAirportDepartures"/>
<enumeration value="destinedForFerryService"/>
<enumeration value="destinedForRailService"/>
<enumeration value="holidayTraffic"/>
<enumeration value="localTraffic"/>
<enumeration value="longDistanceTraffic"/>
<enumeration value="regionalTraffic"/>
<enumeration value="residentsOnlyTraffic"/>
<enumeration value="throughTraffic"/>
<enumeration value="visitorTraffic"/>
</restriction>
</simpleType>
| Modifier and Type | Method and Description |
|---|---|
static TrafficTypeEnum |
fromValue(String v) |
String |
value() |
static TrafficTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrafficTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrafficTypeEnum ACCESS_ONLY_TRAFFIC
public static final TrafficTypeEnum DESTINED_FOR_AIRPORT
public static final TrafficTypeEnum DESTINED_FOR_AIRPORT_ARRIVALS
public static final TrafficTypeEnum DESTINED_FOR_AIRPORT_DEPARTURES
public static final TrafficTypeEnum DESTINED_FOR_FERRY_SERVICE
public static final TrafficTypeEnum DESTINED_FOR_RAIL_SERVICE
public static final TrafficTypeEnum HOLIDAY_TRAFFIC
public static final TrafficTypeEnum LOCAL_TRAFFIC
public static final TrafficTypeEnum LONG_DISTANCE_TRAFFIC
public static final TrafficTypeEnum REGIONAL_TRAFFIC
public static final TrafficTypeEnum RESIDENTS_ONLY_TRAFFIC
public static final TrafficTypeEnum THROUGH_TRAFFIC
public static final TrafficTypeEnum VISITOR_TRAFFIC
public static TrafficTypeEnum[] values()
for (TrafficTypeEnum c : TrafficTypeEnum.values()) System.out.println(c);
public static TrafficTypeEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static TrafficTypeEnum fromValue(String v)
Copyright © 2014–2015 Centrum dopravního výzkumu, v.v.i.. All rights reserved.