![JAR search and dependency download from the Maven repository](/logo.png)
uk.org.siri.siri21.FormationAssignmentStructure Maven / Gradle / Ivy
Show all versions of siri-java-model Show documentation
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2025.01.07 at 02:19:41 PM UTC
//
package uk.org.siri.siri21;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
/**
* 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). (since SIRI 2.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>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "FormationAssignmentStructure", propOrder = {
"compoundTrainRef",
"trainInCompoundTrainRef",
"trainRef",
"trainComponentRef",
"trainElementRef",
"entranceToVehicleRef",
"vehicleInFormationStatus",
"trainStopAssignments"
})
public class FormationAssignmentStructure
implements Serializable
{
@XmlElement(name = "CompoundTrainRef")
protected CompoundTrainRef compoundTrainRef;
@XmlElement(name = "TrainInCompoundTrainRef")
protected TrainInCompoundTrainRef trainInCompoundTrainRef;
@XmlElement(name = "TrainRef")
protected TrainRef trainRef;
@XmlElement(name = "TrainComponentRef")
protected TrainComponentRef trainComponentRef;
@XmlElement(name = "TrainElementRef")
protected TrainElementRef trainElementRef;
@XmlElement(name = "EntranceToVehicleRef")
protected EntranceToVehicleRef entranceToVehicleRef;
@XmlElement(name = "VehicleInFormationStatus")
protected VehicleInFormationStatusStructure vehicleInFormationStatus;
@XmlElement(name = "TrainStopAssignment", required = true)
protected List trainStopAssignments;
/**
* Gets the value of the compoundTrainRef property.
*
* @return
* possible object is
* {@link CompoundTrainRef }
*
*/
public CompoundTrainRef getCompoundTrainRef() {
return compoundTrainRef;
}
/**
* Sets the value of the compoundTrainRef property.
*
* @param value
* allowed object is
* {@link CompoundTrainRef }
*
*/
public void setCompoundTrainRef(CompoundTrainRef value) {
this.compoundTrainRef = value;
}
/**
* Gets the value of the trainInCompoundTrainRef property.
*
* @return
* possible object is
* {@link TrainInCompoundTrainRef }
*
*/
public TrainInCompoundTrainRef getTrainInCompoundTrainRef() {
return trainInCompoundTrainRef;
}
/**
* Sets the value of the trainInCompoundTrainRef property.
*
* @param value
* allowed object is
* {@link TrainInCompoundTrainRef }
*
*/
public void setTrainInCompoundTrainRef(TrainInCompoundTrainRef value) {
this.trainInCompoundTrainRef = value;
}
/**
* Gets the value of the trainRef property.
*
* @return
* possible object is
* {@link TrainRef }
*
*/
public TrainRef getTrainRef() {
return trainRef;
}
/**
* Sets the value of the trainRef property.
*
* @param value
* allowed object is
* {@link TrainRef }
*
*/
public void setTrainRef(TrainRef value) {
this.trainRef = value;
}
/**
* Gets the value of the trainComponentRef property.
*
* @return
* possible object is
* {@link TrainComponentRef }
*
*/
public TrainComponentRef getTrainComponentRef() {
return trainComponentRef;
}
/**
* Sets the value of the trainComponentRef property.
*
* @param value
* allowed object is
* {@link TrainComponentRef }
*
*/
public void setTrainComponentRef(TrainComponentRef value) {
this.trainComponentRef = value;
}
/**
* Gets the value of the trainElementRef property.
*
* @return
* possible object is
* {@link TrainElementRef }
*
*/
public TrainElementRef getTrainElementRef() {
return trainElementRef;
}
/**
* Sets the value of the trainElementRef property.
*
* @param value
* allowed object is
* {@link TrainElementRef }
*
*/
public void setTrainElementRef(TrainElementRef value) {
this.trainElementRef = value;
}
/**
* Gets the value of the entranceToVehicleRef property.
*
* @return
* possible object is
* {@link EntranceToVehicleRef }
*
*/
public EntranceToVehicleRef getEntranceToVehicleRef() {
return entranceToVehicleRef;
}
/**
* Sets the value of the entranceToVehicleRef property.
*
* @param value
* allowed object is
* {@link EntranceToVehicleRef }
*
*/
public void setEntranceToVehicleRef(EntranceToVehicleRef value) {
this.entranceToVehicleRef = value;
}
/**
* Gets the value of the vehicleInFormationStatus property.
*
* @return
* possible object is
* {@link VehicleInFormationStatusStructure }
*
*/
public VehicleInFormationStatusStructure getVehicleInFormationStatus() {
return vehicleInFormationStatus;
}
/**
* Sets the value of the vehicleInFormationStatus property.
*
* @param value
* allowed object is
* {@link VehicleInFormationStatusStructure }
*
*/
public void setVehicleInFormationStatus(VehicleInFormationStatusStructure value) {
this.vehicleInFormationStatus = value;
}
/**
* 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
* {@link StopAssignmentStructure }
*
*
*/
public List getTrainStopAssignments() {
if (trainStopAssignments == null) {
trainStopAssignments = new ArrayList();
}
return this.trainStopAssignments;
}
}