Class TrainInCompoundTrain

  • All Implemented Interfaces:
    Serializable

    public class TrainInCompoundTrain
    extends Object
    implements Serializable
    Type for a TRAIN IN COMPOUND TRAIN. +SIRI v2.1

    Java class for TrainInCompoundTrainStructure complex type.

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

     <complexType name="TrainInCompoundTrainStructure">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="TrainInCompoundTrainCode" type="{http://www.siri.org.uk/siri}TrainInCompoundTrainCodeType" minOccurs="0"/>
             <element name="Order" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/>
             <group ref="{http://www.siri.org.uk/siri}TrainInCompoundTrainGroup"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Constructor Detail

      • TrainInCompoundTrain

        public TrainInCompoundTrain()
    • Method Detail

      • getTrainInCompoundTrainCode

        public String getTrainInCompoundTrainCode()
        Gets the value of the trainInCompoundTrainCode property.
        Returns:
        possible object is String
      • setTrainInCompoundTrainCode

        public void setTrainInCompoundTrainCode​(String value)
        Sets the value of the trainInCompoundTrainCode property.
        Parameters:
        value - allowed object is String
      • getOrder

        public BigInteger getOrder()
        Gets the value of the order property.
        Returns:
        possible object is BigInteger
      • setOrder

        public void setOrder​(BigInteger value)
        Sets the value of the order property.
        Parameters:
        value - allowed object is BigInteger
      • getTrain

        public Train getTrain()
        Gets the value of the train property.
        Returns:
        possible object is Train
      • setTrain

        public void setTrain​(Train value)
        Sets the value of the train property.
        Parameters:
        value - allowed object is Train
      • getTrainRef

        public TrainRef getTrainRef()
        Gets the value of the trainRef property.
        Returns:
        possible object is TrainRef
      • setTrainRef

        public void setTrainRef​(TrainRef value)
        Sets the value of the trainRef property.
        Parameters:
        value - allowed object is TrainRef
      • getOriginNames

        public List<NaturalLanguagePlaceNameStructure> getOriginNames()
        Gets the value of the originNames property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the originNames property.

        For example, to add a new item, do as follows:

            getOriginNames().add(newItem);
         

        Objects of the following type(s) are allowed in the list NaturalLanguagePlaceNameStructure

      • getOriginShortNames

        public List<NaturalLanguagePlaceNameStructure> getOriginShortNames()
        Gets the value of the originShortNames property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the originShortNames property.

        For example, to add a new item, do as follows:

            getOriginShortNames().add(newItem);
         

        Objects of the following type(s) are allowed in the list NaturalLanguagePlaceNameStructure

      • getDestinationDisplayAtOrigins

        public List<NaturalLanguagePlaceNameStructure> getDestinationDisplayAtOrigins()
        Gets the value of the destinationDisplayAtOrigins property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the destinationDisplayAtOrigins property.

        For example, to add a new item, do as follows:

            getDestinationDisplayAtOrigins().add(newItem);
         

        Objects of the following type(s) are allowed in the list NaturalLanguagePlaceNameStructure

      • getVias

        public List<ViaNameStructure> getVias()
        Gets the value of the vias property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the vias property.

        For example, to add a new item, do as follows:

            getVias().add(newItem);
         

        Objects of the following type(s) are allowed in the list ViaNameStructure

      • setDestinationRef

        public void setDestinationRef​(DestinationRef value)
        Sets the value of the destinationRef property.
        Parameters:
        value - allowed object is DestinationRef
      • getDestinationNames

        public List<NaturalLanguageStringStructure> getDestinationNames()
        Gets the value of the destinationNames property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the destinationNames property.

        For example, to add a new item, do as follows:

            getDestinationNames().add(newItem);
         

        Objects of the following type(s) are allowed in the list NaturalLanguageStringStructure

      • getDestinationShortNames

        public List<NaturalLanguagePlaceNameStructure> getDestinationShortNames()
        Gets the value of the destinationShortNames property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the destinationShortNames property.

        For example, to add a new item, do as follows:

            getDestinationShortNames().add(newItem);
         

        Objects of the following type(s) are allowed in the list NaturalLanguagePlaceNameStructure

      • getOriginDisplayAtDestinations

        public List<NaturalLanguagePlaceNameStructure> getOriginDisplayAtDestinations()
        Gets the value of the originDisplayAtDestinations property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the originDisplayAtDestinations property.

        For example, to add a new item, do as follows:

            getOriginDisplayAtDestinations().add(newItem);
         

        Objects of the following type(s) are allowed in the list NaturalLanguagePlaceNameStructure

      • isReversedOrientation

        public Boolean isReversedOrientation()
        Gets the value of the reversedOrientation property.
        Returns:
        possible object is Boolean
      • setReversedOrientation

        public void setReversedOrientation​(Boolean value)
        Sets the value of the reversedOrientation property.
        Parameters:
        value - allowed object is Boolean