Package uk.org.siri.siri21
Enum JourneyRelationTypeEnumeration
- java.lang.Object
-
- java.lang.Enum<JourneyRelationTypeEnumeration>
-
- uk.org.siri.siri21.JourneyRelationTypeEnumeration
-
- All Implemented Interfaces:
Serializable,Comparable<JourneyRelationTypeEnumeration>
public enum JourneyRelationTypeEnumeration extends Enum<JourneyRelationTypeEnumeration>
Java class for JourneyRelationTypeEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="JourneyRelationTypeEnumeration"> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="ContinuationOfJourney"/> <enumeration value="ContinuedByJourney"/> <enumeration value="SplitsIntoJourneys"/> <enumeration value="ContinuationOfSplitJourney"/> <enumeration value="JoiningOfJourneys"/> <enumeration value="ContinuedByJoinedJourney"/> <enumeration value="ReplacementOfJourney"/> <enumeration value="ReplacedByJourney"/> <enumeration value="SupportOfJourney"/> <enumeration value="SupportedByJourney"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTINUATION_OF_JOURNEYThe journey is a continuation of the specified RelatedJourney at the stop point given in CallInfo.CONTINUATION_OF_SPLIT_JOURNEYThe journey is a continuation of a single RelatedJourney splitting into multiple journeys at the stop point given in CallInfo.CONTINUED_BY_JOINED_JOURNEYThe journey is continued by a single RelatedJourney after joining other journeys at the stop point given in CallInfo.CONTINUED_BY_JOURNEYThe journey is continued by the specified RelatedJourney at the stop point given in CallInfo.JOINING_OF_JOURNEYSThe journey is the continuation of multiple RelatedJourneys joining together at the stop point given in CallInfo.REPLACED_BY_JOURNEYThe partially or fully cancelled journey is replaced by one or more RelatedJourneys during the JourneyPart defined or referenced in JourneyPartInfo.REPLACEMENT_OF_JOURNEYThe journey replaces one or more partially or fully cancelled RelatedJourneys during the JourneyPart defined or referenced in JourneyPartInfo.SPLITS_INTO_JOURNEYSThe journey splits into multiple RelatedJourneys at the stop point given in CallInfo.SUPPORT_OF_JOURNEYThe journey partially or fully supports one or more RelatedJourneys during the JourneyPart defined or referenced in JourneyPartInfo.SUPPORTED_BY_JOURNEYThe journey is partially or fully supported by one or more RelatedJourneys during the JourneyPart defined or referenced in JourneyPartInfo.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JourneyRelationTypeEnumerationfromValue(String v)Stringvalue()static JourneyRelationTypeEnumerationvalueOf(String name)Returns the enum constant of this type with the specified name.static JourneyRelationTypeEnumeration[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONTINUATION_OF_JOURNEY
public static final JourneyRelationTypeEnumeration CONTINUATION_OF_JOURNEY
The journey is a continuation of the specified RelatedJourney at the stop point given in CallInfo. Passengers don't need to change vehicles. The new journey is not communicated as an interchange.
-
CONTINUED_BY_JOURNEY
public static final JourneyRelationTypeEnumeration CONTINUED_BY_JOURNEY
The journey is continued by the specified RelatedJourney at the stop point given in CallInfo. Passengers don't need to change vehicles. The new journey is not communicated as an interchange.
-
SPLITS_INTO_JOURNEYS
public static final JourneyRelationTypeEnumeration SPLITS_INTO_JOURNEYS
The journey splits into multiple RelatedJourneys at the stop point given in CallInfo.
-
CONTINUATION_OF_SPLIT_JOURNEY
public static final JourneyRelationTypeEnumeration CONTINUATION_OF_SPLIT_JOURNEY
The journey is a continuation of a single RelatedJourney splitting into multiple journeys at the stop point given in CallInfo.
-
JOINING_OF_JOURNEYS
public static final JourneyRelationTypeEnumeration JOINING_OF_JOURNEYS
The journey is the continuation of multiple RelatedJourneys joining together at the stop point given in CallInfo.
-
CONTINUED_BY_JOINED_JOURNEY
public static final JourneyRelationTypeEnumeration CONTINUED_BY_JOINED_JOURNEY
The journey is continued by a single RelatedJourney after joining other journeys at the stop point given in CallInfo.
-
REPLACEMENT_OF_JOURNEY
public static final JourneyRelationTypeEnumeration REPLACEMENT_OF_JOURNEY
The journey replaces one or more partially or fully cancelled RelatedJourneys during the JourneyPart defined or referenced in JourneyPartInfo.
-
REPLACED_BY_JOURNEY
public static final JourneyRelationTypeEnumeration REPLACED_BY_JOURNEY
The partially or fully cancelled journey is replaced by one or more RelatedJourneys during the JourneyPart defined or referenced in JourneyPartInfo.
-
SUPPORT_OF_JOURNEY
public static final JourneyRelationTypeEnumeration SUPPORT_OF_JOURNEY
The journey partially or fully supports one or more RelatedJourneys during the JourneyPart defined or referenced in JourneyPartInfo.
-
SUPPORTED_BY_JOURNEY
public static final JourneyRelationTypeEnumeration SUPPORTED_BY_JOURNEY
The journey is partially or fully supported by one or more RelatedJourneys during the JourneyPart defined or referenced in JourneyPartInfo.
-
-
Method Detail
-
values
public static JourneyRelationTypeEnumeration[] 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 (JourneyRelationTypeEnumeration c : JourneyRelationTypeEnumeration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JourneyRelationTypeEnumeration 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 JourneyRelationTypeEnumeration fromValue(String v)
-
-