Package uk.org.siri.siri21
Enum InterchangeStatusEnumeration
- java.lang.Object
-
- java.lang.Enum<InterchangeStatusEnumeration>
-
- uk.org.siri.siri21.InterchangeStatusEnumeration
-
- All Implemented Interfaces:
Serializable,Comparable<InterchangeStatusEnumeration>
public enum InterchangeStatusEnumeration extends Enum<InterchangeStatusEnumeration>
Java class for InterchangeStatusEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="InterchangeStatusEnumeration"> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="unknown"/> <enumeration value="connection"/> <enumeration value="replacement"/> <enumeration value="alternative"/> <enumeration value="connectionNotHeld"/> <enumeration value="connectionHeld"/> <enumeration value="statusOfConnectionUndecided"/> <enumeration value="undefinedCrossReferenceInformation"/> <enumeration value="connectionChanged"/> <enumeration value="distributorWaitProlonged"/> <enumeration value="departurePlatformChanged"/> <enumeration value="extraInterchange"/> <enumeration value="cancelled"/> <enumeration value="feederArrivalCancellation"/> <enumeration value="distributorDepartureCancellation"/> <enumeration value="statusOfConenctionUndecided"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALTERNATIVETPEG Pti31_3, alternativeCANCELLEDInterchange is a cancellation of an interchange in the plan.CONNECTIONTPEG Pti31_1, connectionCONNECTION_CHANGEDInterchange is planned but was updated as a result of changes in the QUAYs or arrival/departure times.CONNECTION_HELDTPEG Pti31_5, connection heldCONNECTION_NOT_HELDTPEG Pti31_4, connection not heldDEPARTURE_PLATFORM_CHANGEDUsed to provide the passengers with information about a new departure platform of the distributor VEHICLE if the distributor changes its planned stopping position.DISTRIBUTOR_DEPARTURE_CANCELLATIONIndicates the loss of an outbound connection, i.e., is used to signal the cancellation of the onward connection to the passengers in the feeder VEHICLEs.DISTRIBUTOR_WAIT_PROLONGEDAn important function of connection protection is the ability to hold back a distributor VEHICLE (i.e.EXTRA_INTERCHANGEInterchange is an addition to the plan.FEEDER_ARRIVAL_CANCELLATIONLoss of the inbound connection indicates the cancellation of the visit (of the FeederJourney) to the FeederArrivalStop, or a severely delayed arrival.REPLACEMENTTPEG Pti31_2, replacementSTATUS_OF_CONENCTION_UNDECIDEDdeprecated (SIRI 2.1) - use statusOfConnectionUndecided insteadSTATUS_OF_CONNECTION_UNDECIDEDTPEG Pti31_6, status of connection undecidedUNDEFINED_CROSS_REFERENCE_INFORMATIONTPEG Pti31_255, undefined cross reference informationUNKNOWNTPEG Pti31_0, unknown
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InterchangeStatusEnumerationfromValue(String v)Stringvalue()static InterchangeStatusEnumerationvalueOf(String name)Returns the enum constant of this type with the specified name.static InterchangeStatusEnumeration[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final InterchangeStatusEnumeration UNKNOWN
TPEG Pti31_0, unknown
-
CONNECTION
public static final InterchangeStatusEnumeration CONNECTION
TPEG Pti31_1, connection
-
REPLACEMENT
public static final InterchangeStatusEnumeration REPLACEMENT
TPEG Pti31_2, replacement
-
ALTERNATIVE
public static final InterchangeStatusEnumeration ALTERNATIVE
TPEG Pti31_3, alternative
-
CONNECTION_NOT_HELD
public static final InterchangeStatusEnumeration CONNECTION_NOT_HELD
TPEG Pti31_4, connection not held
-
CONNECTION_HELD
public static final InterchangeStatusEnumeration CONNECTION_HELD
TPEG Pti31_5, connection held
-
STATUS_OF_CONNECTION_UNDECIDED
public static final InterchangeStatusEnumeration STATUS_OF_CONNECTION_UNDECIDED
TPEG Pti31_6, status of connection undecided
-
UNDEFINED_CROSS_REFERENCE_INFORMATION
public static final InterchangeStatusEnumeration UNDEFINED_CROSS_REFERENCE_INFORMATION
TPEG Pti31_255, undefined cross reference information
-
CONNECTION_CHANGED
public static final InterchangeStatusEnumeration CONNECTION_CHANGED
Interchange is planned but was updated as a result of changes in the QUAYs or arrival/departure times. Can be used if the status is a combination of the other values. +SIRI v2.1
-
DISTRIBUTOR_WAIT_PROLONGED
public static final InterchangeStatusEnumeration DISTRIBUTOR_WAIT_PROLONGED
An important function of connection protection is the ability to hold back a distributor VEHICLE (i.e. prolonged waiting) to allow passengers to transfer from delayed feeders. To achieve this a distributorWaitProlonged status shall be communicated back to the feeder VEHICLEs to inform the passengers about the new departure time of the distributor or even a willWait guarantee. +SIRI v2.1
-
DEPARTURE_PLATFORM_CHANGED
public static final InterchangeStatusEnumeration DEPARTURE_PLATFORM_CHANGED
Used to provide the passengers with information about a new departure platform of the distributor VEHICLE if the distributor changes its planned stopping position. +SIRI v2.1
-
EXTRA_INTERCHANGE
public static final InterchangeStatusEnumeration EXTRA_INTERCHANGE
Interchange is an addition to the plan. +SIRI v2.1
-
CANCELLED
public static final InterchangeStatusEnumeration CANCELLED
Interchange is a cancellation of an interchange in the plan. +SIRI v2.1
-
FEEDER_ARRIVAL_CANCELLATION
public static final InterchangeStatusEnumeration FEEDER_ARRIVAL_CANCELLATION
Loss of the inbound connection indicates the cancellation of the visit (of the FeederJourney) to the FeederArrivalStop, or a severely delayed arrival. This can lead to the distributor VEHICLE abandoning the connection. Reasons for the loss of a feeder include (but are not limited to) the cancellation of the feeder VEHICLE, diversion/rerouting of the feeder VEHICLE, disruption of a line section or journey part of the feeder VEHICLE etc. +SIRI v2.1
-
DISTRIBUTOR_DEPARTURE_CANCELLATION
public static final InterchangeStatusEnumeration DISTRIBUTOR_DEPARTURE_CANCELLATION
Indicates the loss of an outbound connection, i.e., is used to signal the cancellation of the onward connection to the passengers in the feeder VEHICLEs. +SIRI v2.1
-
STATUS_OF_CONENCTION_UNDECIDED
public static final InterchangeStatusEnumeration STATUS_OF_CONENCTION_UNDECIDED
deprecated (SIRI 2.1) - use statusOfConnectionUndecided instead
-
-
Method Detail
-
values
public static InterchangeStatusEnumeration[] 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 (InterchangeStatusEnumeration c : InterchangeStatusEnumeration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InterchangeStatusEnumeration 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 InterchangeStatusEnumeration fromValue(String v)
-
-