Enum 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 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 name
        NullPointerException - if the argument is null
      • value

        public String value()