public enum StopTypeEnumeration extends Enum<StopTypeEnumeration>
Java class for StopTypeEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="StopTypeEnumeration">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="onstreetBus"/>
<enumeration value="onstreetTram"/>
<enumeration value="airport"/>
<enumeration value="railStation"/>
<enumeration value="metroStation"/>
<enumeration value="busStation"/>
<enumeration value="coachStation"/>
<enumeration value="tramStation"/>
<enumeration value="harbourPort"/>
<enumeration value="ferryPort"/>
<enumeration value="ferryStop"/>
<enumeration value="liftStation"/>
<enumeration value="vehicleRailInterchange"/>
<enumeration value="other"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
AIRPORT |
BUS_STATION |
COACH_STATION |
FERRY_PORT |
FERRY_STOP |
HARBOUR_PORT |
LIFT_STATION |
METRO_STATION |
ONSTREET_BUS |
ONSTREET_TRAM |
OTHER |
RAIL_STATION |
TRAM_STATION |
VEHICLE_RAIL_INTERCHANGE |
| Modifier and Type | Method and Description |
|---|---|
static StopTypeEnumeration |
fromValue(String v) |
String |
value() |
static StopTypeEnumeration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StopTypeEnumeration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StopTypeEnumeration ONSTREET_BUS
public static final StopTypeEnumeration ONSTREET_TRAM
public static final StopTypeEnumeration AIRPORT
public static final StopTypeEnumeration RAIL_STATION
public static final StopTypeEnumeration METRO_STATION
public static final StopTypeEnumeration BUS_STATION
public static final StopTypeEnumeration COACH_STATION
public static final StopTypeEnumeration TRAM_STATION
public static final StopTypeEnumeration HARBOUR_PORT
public static final StopTypeEnumeration FERRY_PORT
public static final StopTypeEnumeration FERRY_STOP
public static final StopTypeEnumeration LIFT_STATION
public static final StopTypeEnumeration VEHICLE_RAIL_INTERCHANGE
public static final StopTypeEnumeration OTHER
public static StopTypeEnumeration[] values()
for (StopTypeEnumeration c : StopTypeEnumeration.values()) System.out.println(c);
public static StopTypeEnumeration 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 StopTypeEnumeration fromValue(String v)
Copyright © 2018 Entur AS. All rights reserved.