Package uk.org.siri.siri21
Enum StopPlaceTypeEnumeration
- java.lang.Object
-
- java.lang.Enum<StopPlaceTypeEnumeration>
-
- uk.org.siri.siri21.StopPlaceTypeEnumeration
-
- All Implemented Interfaces:
Serializable,Comparable<StopPlaceTypeEnumeration>
public enum StopPlaceTypeEnumeration extends Enum<StopPlaceTypeEnumeration>
Java class for StopPlaceTypeEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="StopPlaceTypeEnumeration"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="unknown"/> <enumeration value="railwayStation"/> <enumeration value="undergroundStation"/> <enumeration value="tramStation"/> <enumeration value="busStation"/> <enumeration value="airport"/> <enumeration value="pier"/> <enumeration value="harbourPort"/> <enumeration value="ferryStop"/> <enumeration value="lightRailwayStation"/> <enumeration value="cogwheelStation"/> <enumeration value="funicularStation"/> <enumeration value="ropewayStation"/> <enumeration value="coachStation"/> <enumeration value="ferryPort"/> <enumeration value="onStreetBus"/> <enumeration value="onStreetTram"/> <enumeration value="skiLift"/> <enumeration value="other"/> <enumeration value="undefinedStopPlaceType"/> <enumeration value="railStation"/> <enumeration value="metroStation"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AIRPORTIFOPT, TPEG Pts41_5, airportBUS_STATIONIFOPT, TPEG Pts41_4, bus stationCOACH_STATIONIFOPT, coach stationCOGWHEEL_STATIONTPEG Pts41_10, cogwheel stationFERRY_PORTIFOPT, ferry portFERRY_STOP,IFOPT, TPEG Pts41_8, ferry stopFUNICULAR_STATIONTPEG Pts41_11, funicular stationHARBOUR_PORTIFOPT, TPEG Pts41_7, harbour portLIGHT_RAILWAY_STATIONTPEG Pts41_9, light railway stationMETRO_STATIONIFOPT, deprecated (SIRI 2.1), use undergroundStationON_STREET_BUSIFOPT, on-street bus stopON_STREET_TRAMIFOPT, on-street tram stopOTHERIFOPT, otherPIERTPEG Pts41_6, pierRAIL_STATIONIFOPT, deprecated (SIRI 2.1), use railwayStationRAILWAY_STATIONTPEG Pts41_1, railway stationROPEWAY_STATIONTPEG Pts41_12, ropeway stationSKI_LIFTIFOPT, ski liftTRAM_STATIONIFOPT, TPEG Pts41_3, tram stationUNDEFINED_STOP_PLACE_TYPETPEG Pts41_255, undefined stop place typeUNDERGROUND_STATIONTPEG Pts41_2, underground stationUNKNOWNTPEG Pts41_0, unknown
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StopPlaceTypeEnumerationfromValue(String v)Stringvalue()static StopPlaceTypeEnumerationvalueOf(String name)Returns the enum constant of this type with the specified name.static StopPlaceTypeEnumeration[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final StopPlaceTypeEnumeration UNKNOWN
TPEG Pts41_0, unknown
-
RAILWAY_STATION
public static final StopPlaceTypeEnumeration RAILWAY_STATION
TPEG Pts41_1, railway station
-
UNDERGROUND_STATION
public static final StopPlaceTypeEnumeration UNDERGROUND_STATION
TPEG Pts41_2, underground station
-
TRAM_STATION
public static final StopPlaceTypeEnumeration TRAM_STATION
IFOPT, TPEG Pts41_3, tram station
-
BUS_STATION
public static final StopPlaceTypeEnumeration BUS_STATION
IFOPT, TPEG Pts41_4, bus station
-
AIRPORT
public static final StopPlaceTypeEnumeration AIRPORT
IFOPT, TPEG Pts41_5, airport
-
PIER
public static final StopPlaceTypeEnumeration PIER
TPEG Pts41_6, pier
-
HARBOUR_PORT
public static final StopPlaceTypeEnumeration HARBOUR_PORT
IFOPT, TPEG Pts41_7, harbour port
-
FERRY_STOP
public static final StopPlaceTypeEnumeration FERRY_STOP
,IFOPT, TPEG Pts41_8, ferry stop
-
LIGHT_RAILWAY_STATION
public static final StopPlaceTypeEnumeration LIGHT_RAILWAY_STATION
TPEG Pts41_9, light railway station
-
COGWHEEL_STATION
public static final StopPlaceTypeEnumeration COGWHEEL_STATION
TPEG Pts41_10, cogwheel station
-
FUNICULAR_STATION
public static final StopPlaceTypeEnumeration FUNICULAR_STATION
TPEG Pts41_11, funicular station
-
ROPEWAY_STATION
public static final StopPlaceTypeEnumeration ROPEWAY_STATION
TPEG Pts41_12, ropeway station
-
COACH_STATION
public static final StopPlaceTypeEnumeration COACH_STATION
IFOPT, coach station
-
FERRY_PORT
public static final StopPlaceTypeEnumeration FERRY_PORT
IFOPT, ferry port
-
ON_STREET_BUS
public static final StopPlaceTypeEnumeration ON_STREET_BUS
IFOPT, on-street bus stop
-
ON_STREET_TRAM
public static final StopPlaceTypeEnumeration ON_STREET_TRAM
IFOPT, on-street tram stop
-
SKI_LIFT
public static final StopPlaceTypeEnumeration SKI_LIFT
IFOPT, ski lift
-
OTHER
public static final StopPlaceTypeEnumeration OTHER
IFOPT, other
-
UNDEFINED_STOP_PLACE_TYPE
public static final StopPlaceTypeEnumeration UNDEFINED_STOP_PLACE_TYPE
TPEG Pts41_255, undefined stop place type
-
RAIL_STATION
public static final StopPlaceTypeEnumeration RAIL_STATION
IFOPT, deprecated (SIRI 2.1), use railwayStation
-
METRO_STATION
public static final StopPlaceTypeEnumeration METRO_STATION
IFOPT, deprecated (SIRI 2.1), use undergroundStation
-
-
Method Detail
-
values
public static StopPlaceTypeEnumeration[] 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 (StopPlaceTypeEnumeration c : StopPlaceTypeEnumeration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StopPlaceTypeEnumeration 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 StopPlaceTypeEnumeration fromValue(String v)
-
-