Class DatedJourneyPartInfoStructure

  • All Implemented Interfaces:
    Serializable

    public class DatedJourneyPartInfoStructure
    extends Object
    implements Serializable
    Type for a reference to JOURNEY PART. +SIRI v2.1

    Java class for DatedJourneyPartInfoStructure complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="DatedJourneyPartInfoStructure">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="JourneyPartRef" type="{http://www.w3.org/2001/XMLSchema}normalizedString" minOccurs="0"/>
             <element name="TrainNumberRef" type="{http://www.siri.org.uk/siri}TrainNumberRefStructure" minOccurs="0"/>
             <element name="OperatorRef" type="{http://www.siri.org.uk/siri}OperatorRefStructure" minOccurs="0"/>
             <element ref="{http://www.siri.org.uk/siri}CompoundTrainRef" minOccurs="0"/>
             <group ref="{http://www.siri.org.uk/siri}JourneyPartViewGroup" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Constructor Detail

      • DatedJourneyPartInfoStructure

        public DatedJourneyPartInfoStructure()
    • Method Detail

      • getJourneyPartRef

        public String getJourneyPartRef()
        Gets the value of the journeyPartRef property.
        Returns:
        possible object is String
      • setJourneyPartRef

        public void setJourneyPartRef​(String value)
        Sets the value of the journeyPartRef property.
        Parameters:
        value - allowed object is String
      • getCompoundTrainRef

        public CompoundTrainRef getCompoundTrainRef()
        Reference to COMPOUND TRAIN that represents the train formation/composition as a whole (for this JOURNEY PART). +SIRI v2.1 A journey does always have one or more JOURNEY PARTs for which the train formation/composition remains unchanged.
        Returns:
        possible object is CompoundTrainRef
      • setCompoundTrainRef

        public void setCompoundTrainRef​(CompoundTrainRef value)
        Sets the value of the compoundTrainRef property.
        Parameters:
        value - allowed object is CompoundTrainRef
      • getStartTime

        public ZonedDateTime getStartTime()
        Gets the value of the startTime property.
        Returns:
        possible object is String
      • setStartTime

        public void setStartTime​(ZonedDateTime value)
        Sets the value of the startTime property.
        Parameters:
        value - allowed object is String
      • getEndTime

        public ZonedDateTime getEndTime()
        Gets the value of the endTime property.
        Returns:
        possible object is String
      • setEndTime

        public void setEndTime​(ZonedDateTime value)
        Sets the value of the endTime property.
        Parameters:
        value - allowed object is String