Class PassageBetweenTrainsStructure

  • All Implemented Interfaces:
    Serializable

    public class PassageBetweenTrainsStructure
    extends Object
    implements Serializable
    Indicates whether passengers have access to adjacent TRAINs or TRAIN COMPONENTs within a COMPOUND TRAIN, i.e., whether passage between those wagons/coaches is possible. +SIRI v2.1

    Java class for PassageBetweenTrainsStructure complex type.

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

     <complexType name="PassageBetweenTrainsStructure">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element ref="{http://www.siri.org.uk/siri}TrainRef"/>
             <element ref="{http://www.siri.org.uk/siri}TrainComponentRef" minOccurs="0"/>
             <element name="PassageIsPossible" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Field Detail

      • passageIsPossible

        protected boolean passageIsPossible
    • Constructor Detail

      • PassageBetweenTrainsStructure

        public PassageBetweenTrainsStructure()
    • Method Detail

      • 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
      • setTrainComponentRef

        public void setTrainComponentRef​(TrainComponentRef value)
        Sets the value of the trainComponentRef property.
        Parameters:
        value - allowed object is TrainComponentRef
      • isPassageIsPossible

        public boolean isPassageIsPossible()
        Gets the value of the passageIsPossible property.
      • setPassageIsPossible

        public void setPassageIsPossible​(boolean value)
        Sets the value of the passageIsPossible property.