Package uk.org.siri.siri21
Enum StopPointTypeEnumeration
- java.lang.Object
-
- java.lang.Enum<StopPointTypeEnumeration>
-
- uk.org.siri.siri21.StopPointTypeEnumeration
-
- All Implemented Interfaces:
Serializable,Comparable<StopPointTypeEnumeration>
public enum StopPointTypeEnumeration extends Enum<StopPointTypeEnumeration>
Java class for StopPointTypeEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="StopPointTypeEnumeration"> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="unknown"/> <enumeration value="platformNumber"/> <enumeration value="terminalGate"/> <enumeration value="ferryBerth"/> <enumeration value="harbourPier"/> <enumeration value="landingStage"/> <enumeration value="busStop"/> <enumeration value="undefinedStopPointType"/> <enumeration value="undefinedBookingInformation"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUS_STOPTPEG Pts17_6, bus stopFERRY_BERTHTPEG Pts17_3, ferry berthHARBOUR_PIERTPEG Pts17_4, harbour pierLANDING_STAGETPEG Pts17_5, unknownPLATFORM_NUMBERTPEG Pts17_1, platform numberTERMINAL_GATETPEG Pts17_2, terminal gateUNDEFINED_BOOKING_INFORMATIONdeprecated (SIRI 2.1) - use undefinedStopPointTypeUNDEFINED_STOP_POINT_TYPETPEG Pts17_255, undefined service delivery point typeUNKNOWNTPEG Pts17_0, unknown
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StopPointTypeEnumerationfromValue(String v)Stringvalue()static StopPointTypeEnumerationvalueOf(String name)Returns the enum constant of this type with the specified name.static StopPointTypeEnumeration[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final StopPointTypeEnumeration UNKNOWN
TPEG Pts17_0, unknown
-
PLATFORM_NUMBER
public static final StopPointTypeEnumeration PLATFORM_NUMBER
TPEG Pts17_1, platform number
-
TERMINAL_GATE
public static final StopPointTypeEnumeration TERMINAL_GATE
TPEG Pts17_2, terminal gate
-
FERRY_BERTH
public static final StopPointTypeEnumeration FERRY_BERTH
TPEG Pts17_3, ferry berth
-
HARBOUR_PIER
public static final StopPointTypeEnumeration HARBOUR_PIER
TPEG Pts17_4, harbour pier
-
LANDING_STAGE
public static final StopPointTypeEnumeration LANDING_STAGE
TPEG Pts17_5, unknown
-
BUS_STOP
public static final StopPointTypeEnumeration BUS_STOP
TPEG Pts17_6, bus stop
-
UNDEFINED_STOP_POINT_TYPE
public static final StopPointTypeEnumeration UNDEFINED_STOP_POINT_TYPE
TPEG Pts17_255, undefined service delivery point type
-
UNDEFINED_BOOKING_INFORMATION
public static final StopPointTypeEnumeration UNDEFINED_BOOKING_INFORMATION
deprecated (SIRI 2.1) - use undefinedStopPointType
-
-
Method Detail
-
values
public static StopPointTypeEnumeration[] 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 (StopPointTypeEnumeration c : StopPointTypeEnumeration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StopPointTypeEnumeration 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 StopPointTypeEnumeration fromValue(String v)
-
-