Package uk.org.ifopt.siri20
Enum TypeOfStopPlaceEnumeration
- java.lang.Object
-
- java.lang.Enum<TypeOfStopPlaceEnumeration>
-
- uk.org.ifopt.siri20.TypeOfStopPlaceEnumeration
-
- All Implemented Interfaces:
Serializable,Comparable<TypeOfStopPlaceEnumeration>
public enum TypeOfStopPlaceEnumeration extends Enum<TypeOfStopPlaceEnumeration>
Java class for TypeOfStopPlaceEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="TypeOfStopPlaceEnumeration"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="onstreetBus"/> <enumeration value="onstreetTram"/> <enumeration value="ferryStop"/> <enumeration value="airport"/> <enumeration value="railStation"/> <enumeration value="metroStation"/> <enumeration value="coachStation"/> <enumeration value="ferryPort"/> <enumeration value="harbourPort"/> <enumeration value="other"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AIRPORTCOACH_STATIONFERRY_PORTFERRY_STOPHARBOUR_PORTMETRO_STATIONONSTREET_BUSONSTREET_TRAMOTHERRAIL_STATION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TypeOfStopPlaceEnumerationfromValue(String v)Stringvalue()static TypeOfStopPlaceEnumerationvalueOf(String name)Returns the enum constant of this type with the specified name.static TypeOfStopPlaceEnumeration[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ONSTREET_BUS
public static final TypeOfStopPlaceEnumeration ONSTREET_BUS
-
ONSTREET_TRAM
public static final TypeOfStopPlaceEnumeration ONSTREET_TRAM
-
FERRY_STOP
public static final TypeOfStopPlaceEnumeration FERRY_STOP
-
AIRPORT
public static final TypeOfStopPlaceEnumeration AIRPORT
-
RAIL_STATION
public static final TypeOfStopPlaceEnumeration RAIL_STATION
-
METRO_STATION
public static final TypeOfStopPlaceEnumeration METRO_STATION
-
COACH_STATION
public static final TypeOfStopPlaceEnumeration COACH_STATION
-
FERRY_PORT
public static final TypeOfStopPlaceEnumeration FERRY_PORT
-
HARBOUR_PORT
public static final TypeOfStopPlaceEnumeration HARBOUR_PORT
-
OTHER
public static final TypeOfStopPlaceEnumeration OTHER
-
-
Method Detail
-
values
public static TypeOfStopPlaceEnumeration[] 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 (TypeOfStopPlaceEnumeration c : TypeOfStopPlaceEnumeration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TypeOfStopPlaceEnumeration 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 TypeOfStopPlaceEnumeration fromValue(String v)
-
-