Package uk.org.ifopt.siri14
Enum StopPlaceTypeEnumeration
- java.lang.Object
-
- java.lang.Enum<StopPlaceTypeEnumeration>
-
- uk.org.ifopt.siri14.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="airport"/> <enumeration value="railStation"/> <enumeration value="metroStation"/> <enumeration value="coachStation"/> <enumeration value="busStation"/> <enumeration value="harbourPort"/> <enumeration value="ferrytPort"/> <enumeration value="ferryStop"/> <enumeration value="onStreetBus"/> <enumeration value="onStreetTram"/> <enumeration value="skiLift"/> <enumeration value="other"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AIRPORTBUS_STATIONCOACH_STATIONFERRY_STOPFERRYT_PORTHARBOUR_PORTMETRO_STATIONON_STREET_BUSON_STREET_TRAMOTHERRAIL_STATIONSKI_LIFT
-
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
-
AIRPORT
public static final StopPlaceTypeEnumeration AIRPORT
-
RAIL_STATION
public static final StopPlaceTypeEnumeration RAIL_STATION
-
METRO_STATION
public static final StopPlaceTypeEnumeration METRO_STATION
-
COACH_STATION
public static final StopPlaceTypeEnumeration COACH_STATION
-
BUS_STATION
public static final StopPlaceTypeEnumeration BUS_STATION
-
HARBOUR_PORT
public static final StopPlaceTypeEnumeration HARBOUR_PORT
-
FERRYT_PORT
public static final StopPlaceTypeEnumeration FERRYT_PORT
-
FERRY_STOP
public static final StopPlaceTypeEnumeration FERRY_STOP
-
ON_STREET_BUS
public static final StopPlaceTypeEnumeration ON_STREET_BUS
-
ON_STREET_TRAM
public static final StopPlaceTypeEnumeration ON_STREET_TRAM
-
SKI_LIFT
public static final StopPlaceTypeEnumeration SKI_LIFT
-
OTHER
public static final StopPlaceTypeEnumeration OTHER
-
-
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)
-
-