Package uk.org.siri.siri21
Class FormationAssignmentStructure
- java.lang.Object
-
- uk.org.siri.siri21.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.1Java 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
-
-
Field Summary
Fields Modifier and Type Field Description protected CompoundTrainRefcompoundTrainRefprotected EntranceToVehicleRefentranceToVehicleRefprotected TrainComponentReftrainComponentRefprotected TrainReftrainRefprotected List<StopAssignmentStructure>trainStopAssignmentsprotected VehicleInFormationStatusStructurevehicleInFormationStatus
-
Constructor Summary
Constructors Constructor Description FormationAssignmentStructure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompoundTrainRefgetCompoundTrainRef()Gets the value of the compoundTrainRef property.EntranceToVehicleRefgetEntranceToVehicleRef()Gets the value of the entranceToVehicleRef property.TrainComponentRefgetTrainComponentRef()Gets the value of the trainComponentRef property.TrainRefgetTrainRef()Gets the value of the trainRef property.List<StopAssignmentStructure>getTrainStopAssignments()Gets the value of the trainStopAssignments property.VehicleInFormationStatusStructuregetVehicleInFormationStatus()Gets the value of the vehicleInFormationStatus property.voidsetCompoundTrainRef(CompoundTrainRef value)Sets the value of the compoundTrainRef property.voidsetEntranceToVehicleRef(EntranceToVehicleRef value)Sets the value of the entranceToVehicleRef property.voidsetTrainComponentRef(TrainComponentRef value)Sets the value of the trainComponentRef property.voidsetTrainRef(TrainRef value)Sets the value of the trainRef property.voidsetVehicleInFormationStatus(VehicleInFormationStatusStructure value)Sets the value of the vehicleInFormationStatus property.
-
-
-
Field Detail
-
compoundTrainRef
protected CompoundTrainRef compoundTrainRef
-
trainRef
protected TrainRef trainRef
-
trainComponentRef
protected TrainComponentRef trainComponentRef
-
entranceToVehicleRef
protected EntranceToVehicleRef entranceToVehicleRef
-
vehicleInFormationStatus
protected VehicleInFormationStatusStructure vehicleInFormationStatus
-
trainStopAssignments
protected List<StopAssignmentStructure> trainStopAssignments
-
-
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 isCompoundTrainRef
-
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 isTrainRef
-
getTrainComponentRef
public TrainComponentRef getTrainComponentRef()
Gets the value of the trainComponentRef property.- Returns:
- possible object is
TrainComponentRef
-
setTrainComponentRef
public void setTrainComponentRef(TrainComponentRef value)
Sets the value of the trainComponentRef property.- Parameters:
value- allowed object isTrainComponentRef
-
getEntranceToVehicleRef
public EntranceToVehicleRef getEntranceToVehicleRef()
Gets the value of the entranceToVehicleRef property.- Returns:
- possible object is
EntranceToVehicleRef
-
setEntranceToVehicleRef
public void setEntranceToVehicleRef(EntranceToVehicleRef value)
Sets the value of the entranceToVehicleRef property.- Parameters:
value- allowed object isEntranceToVehicleRef
-
getVehicleInFormationStatus
public VehicleInFormationStatusStructure getVehicleInFormationStatus()
Gets the value of the vehicleInFormationStatus property.- Returns:
- possible object is
VehicleInFormationStatusStructure
-
setVehicleInFormationStatus
public void setVehicleInFormationStatus(VehicleInFormationStatusStructure value)
Sets the value of the vehicleInFormationStatus property.- Parameters:
value- allowed object isVehicleInFormationStatusStructure
-
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
setmethod 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
-
-