Package uk.org.siri.siri21
Enum RoutePointTypeEnumeration
- java.lang.Object
-
- java.lang.Enum<RoutePointTypeEnumeration>
-
- uk.org.siri.siri21.RoutePointTypeEnumeration
-
- All Implemented Interfaces:
Serializable,Comparable<RoutePointTypeEnumeration>
public enum RoutePointTypeEnumeration extends Enum<RoutePointTypeEnumeration>
Java class for RoutePointTypeEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="RoutePointTypeEnumeration"> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="unknown"/> <enumeration value="origin"/> <enumeration value="destination"/> <enumeration value="intermediate"/> <enumeration value="legBoard"/> <enumeration value="legIntermediate"/> <enumeration value="legAlight"/> <enumeration value="firstRoutePoint"/> <enumeration value="lastRoutePoint"/> <enumeration value="affectedStopplace"/> <enumeration value="presentedStopplace"/> <enumeration value="undefinedStopplaceUsage"/> <enumeration value="startPoint"/> <enumeration value="stop"/> <enumeration value="via"/> <enumeration value="notStopping"/> <enumeration value="temporaryStop"/> <enumeration value="temporarilyNotStopping"/> <enumeration value="exceptionalStop"/> <enumeration value="additionalStop"/> <enumeration value="requestStop"/> <enumeration value="frontTrainDestination"/> <enumeration value="rearTrainDestination"/> <enumeration value="throughServiceDestination"/> <enumeration value="notVia"/> <enumeration value="alteredStartPoint"/> <enumeration value="alteredDestination"/> <enumeration value="undefinedRoutePoint"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDITIONAL_STOPTPEG Pti15_9, additional stop, deprecated (SIRI v2.1)AFFECTED_STOPPLACETPEG Pts44_9, affected stop placeALTERED_DESTINATIONTPEG Pti15_16, altered destination, deprecated (SIRI v2.1)ALTERED_START_POINTTPEG Pti15_15, altered start point, deprecated (SIRI v2.1)DESTINATIONTPEG Pti15_2, Pts44_2, destinationEXCEPTIONAL_STOPTPEG Pti15_8, exceptional stop, deprecated (SIRI v2.1)FIRST_ROUTE_POINTTPEG Pts44_7, first route pointFRONT_TRAIN_DESTINATIONTPEG Pti15_11, front train destination, deprecated (SIRI v2.1)INTERMEDIATETPEG Pts44_3, intermediate.LAST_ROUTE_POINTTPEG Pts44_8, last route pointLEG_ALIGHTTPEG Pts44_6, leg alightLEG_BOARDTPEG Pts44_4, leg boardLEG_INTERMEDIATETPEG Pts44_5, leg intermediateNOT_STOPPINGTPEG Pti15_5, not-stopping, deprecated (SIRI v2.1)NOT_VIATPEG Pti15_14, not via, deprecated (SIRI v2.1)ORIGINTPEG Pts44_1, originPRESENTED_STOPPLACETPEG Pts44_10, presented stop placeREAR_TRAIN_DESTINATIONTPEG Pti15_12, rear train destination, deprecated (SIRI v2.1)REQUEST_STOPTPEG Pti15_10, request stop, deprecated (SIRI v2.1)START_POINTTPEG Pti15_1, start point, deprecated (SIRI v2.1) and replaced by Pts44_1 value 'origin'.STOPTPEG Pti15_3, stop, deprecated (SIRI v2.1)TEMPORARILY_NOT_STOPPINGTPEG Pti15_7, temporarily not-stopping, deprecated (SIRI v2.1)TEMPORARY_STOPTPEG Pti15_6, temporary stop, deprecated (SIRI v2.1)THROUGH_SERVICE_DESTINATIONTPEG Pti15_13, through service destination, deprecated (SIRI v2.1)UNDEFINED_ROUTE_POINTTPEG Pti15_255, undefined route point, deprecated (SIRI v2.1)UNDEFINED_STOPPLACE_USAGETPEG Pts44_255, undefined stop place usageUNKNOWNTPEG Pti15_0, Pts44_0, unknownVIATPEG Pti15_4, via, deprecated (SIRI v2.1)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RoutePointTypeEnumerationfromValue(String v)Stringvalue()static RoutePointTypeEnumerationvalueOf(String name)Returns the enum constant of this type with the specified name.static RoutePointTypeEnumeration[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final RoutePointTypeEnumeration UNKNOWN
TPEG Pti15_0, Pts44_0, unknown
-
ORIGIN
public static final RoutePointTypeEnumeration ORIGIN
TPEG Pts44_1, origin
-
DESTINATION
public static final RoutePointTypeEnumeration DESTINATION
TPEG Pti15_2, Pts44_2, destination
-
INTERMEDIATE
public static final RoutePointTypeEnumeration INTERMEDIATE
TPEG Pts44_3, intermediate.
-
LEG_BOARD
public static final RoutePointTypeEnumeration LEG_BOARD
TPEG Pts44_4, leg board
-
LEG_INTERMEDIATE
public static final RoutePointTypeEnumeration LEG_INTERMEDIATE
TPEG Pts44_5, leg intermediate
-
LEG_ALIGHT
public static final RoutePointTypeEnumeration LEG_ALIGHT
TPEG Pts44_6, leg alight
-
FIRST_ROUTE_POINT
public static final RoutePointTypeEnumeration FIRST_ROUTE_POINT
TPEG Pts44_7, first route point
-
LAST_ROUTE_POINT
public static final RoutePointTypeEnumeration LAST_ROUTE_POINT
TPEG Pts44_8, last route point
-
AFFECTED_STOPPLACE
public static final RoutePointTypeEnumeration AFFECTED_STOPPLACE
TPEG Pts44_9, affected stop place
-
PRESENTED_STOPPLACE
public static final RoutePointTypeEnumeration PRESENTED_STOPPLACE
TPEG Pts44_10, presented stop place
-
UNDEFINED_STOPPLACE_USAGE
public static final RoutePointTypeEnumeration UNDEFINED_STOPPLACE_USAGE
TPEG Pts44_255, undefined stop place usage
-
START_POINT
public static final RoutePointTypeEnumeration START_POINT
TPEG Pti15_1, start point, deprecated (SIRI v2.1) and replaced by Pts44_1 value 'origin'.
-
STOP
public static final RoutePointTypeEnumeration STOP
TPEG Pti15_3, stop, deprecated (SIRI v2.1)
-
VIA
public static final RoutePointTypeEnumeration VIA
TPEG Pti15_4, via, deprecated (SIRI v2.1)
-
NOT_STOPPING
public static final RoutePointTypeEnumeration NOT_STOPPING
TPEG Pti15_5, not-stopping, deprecated (SIRI v2.1)
-
TEMPORARY_STOP
public static final RoutePointTypeEnumeration TEMPORARY_STOP
TPEG Pti15_6, temporary stop, deprecated (SIRI v2.1)
-
TEMPORARILY_NOT_STOPPING
public static final RoutePointTypeEnumeration TEMPORARILY_NOT_STOPPING
TPEG Pti15_7, temporarily not-stopping, deprecated (SIRI v2.1)
-
EXCEPTIONAL_STOP
public static final RoutePointTypeEnumeration EXCEPTIONAL_STOP
TPEG Pti15_8, exceptional stop, deprecated (SIRI v2.1)
-
ADDITIONAL_STOP
public static final RoutePointTypeEnumeration ADDITIONAL_STOP
TPEG Pti15_9, additional stop, deprecated (SIRI v2.1)
-
REQUEST_STOP
public static final RoutePointTypeEnumeration REQUEST_STOP
TPEG Pti15_10, request stop, deprecated (SIRI v2.1)
-
FRONT_TRAIN_DESTINATION
public static final RoutePointTypeEnumeration FRONT_TRAIN_DESTINATION
TPEG Pti15_11, front train destination, deprecated (SIRI v2.1)
-
REAR_TRAIN_DESTINATION
public static final RoutePointTypeEnumeration REAR_TRAIN_DESTINATION
TPEG Pti15_12, rear train destination, deprecated (SIRI v2.1)
-
THROUGH_SERVICE_DESTINATION
public static final RoutePointTypeEnumeration THROUGH_SERVICE_DESTINATION
TPEG Pti15_13, through service destination, deprecated (SIRI v2.1)
-
NOT_VIA
public static final RoutePointTypeEnumeration NOT_VIA
TPEG Pti15_14, not via, deprecated (SIRI v2.1)
-
ALTERED_START_POINT
public static final RoutePointTypeEnumeration ALTERED_START_POINT
TPEG Pti15_15, altered start point, deprecated (SIRI v2.1)
-
ALTERED_DESTINATION
public static final RoutePointTypeEnumeration ALTERED_DESTINATION
TPEG Pti15_16, altered destination, deprecated (SIRI v2.1)
-
UNDEFINED_ROUTE_POINT
public static final RoutePointTypeEnumeration UNDEFINED_ROUTE_POINT
TPEG Pti15_255, undefined route point, deprecated (SIRI v2.1)
-
-
Method Detail
-
values
public static RoutePointTypeEnumeration[] 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 (RoutePointTypeEnumeration c : RoutePointTypeEnumeration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RoutePointTypeEnumeration 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 RoutePointTypeEnumeration fromValue(String v)
-
-