Class FormationAssignmentStructure

  • All Implemented Interfaces:
    Serializable

    public class FormationAssignmentStructure
    extends Object
    implements Serializable
    Assignment of the arrival/departure of a VEHICLE within a formation, e.g. carriage in a TRAIN composition, to a physical QUAY or nested QUAY (i.e. platform or sector of a platform). +SIRI v2.1

    Java class for FormationAssignmentStructure complex type.

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

     <complexType name="FormationAssignmentStructure">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <group ref="{http://www.siri.org.uk/siri}TrainFormationReferenceGroup"/>
             <element name="VehicleInFormationStatus" type="{http://www.siri.org.uk/siri}VehicleInFormationStatusStructure" minOccurs="0"/>
             <element name="TrainStopAssignment" type="{http://www.siri.org.uk/siri}StopAssignmentStructure" maxOccurs="unbounded"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Constructor Detail

      • FormationAssignmentStructure

        public FormationAssignmentStructure()
    • Method Detail

      • getCompoundTrainRef

        public CompoundTrainRef getCompoundTrainRef()
        Gets the value of the compoundTrainRef property.
        Returns:
        possible object is CompoundTrainRef
      • setCompoundTrainRef

        public void setCompoundTrainRef​(CompoundTrainRef value)
        Sets the value of the compoundTrainRef property.
        Parameters:
        value - allowed object is CompoundTrainRef
      • 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
      • setEntranceToVehicleRef

        public void setEntranceToVehicleRef​(EntranceToVehicleRef value)
        Sets the value of the entranceToVehicleRef property.
        Parameters:
        value - allowed object is EntranceToVehicleRef
      • getTrainStopAssignments

        public List<StopAssignmentStructure> getTrainStopAssignments()
        Gets the value of the trainStopAssignments 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 trainStopAssignments property.

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

            getTrainStopAssignments().add(newItem);
         

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