Package uk.org.siri.siri20
Class TrainBlockPartStructure
- java.lang.Object
-
- uk.org.siri.siri20.TrainBlockPartStructure
-
- All Implemented Interfaces:
Serializable
public class TrainBlockPartStructure extends Object implements Serializable
Type for BLOCK part elements of VEHICLE JOURNEY.Java class for TrainBlockPartStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TrainBlockPartStructure"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="NumberOfBlockParts" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/> <element name="TrainPartRef" type="{http://www.siri.org.uk/siri}TrainPartRefStructure"/> <element name="PositionOfTrainBlockPart" type="{http://www.siri.org.uk/siri}NaturalLanguageStringStructure" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected BigIntegernumberOfBlockPartsprotected List<NaturalLanguageStringStructure>positionOfTrainBlockPartsprotected TrainPartRefStructuretrainPartRef
-
Constructor Summary
Constructors Constructor Description TrainBlockPartStructure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigIntegergetNumberOfBlockParts()Gets the value of the numberOfBlockParts property.List<NaturalLanguageStringStructure>getPositionOfTrainBlockParts()Gets the value of the positionOfTrainBlockParts property.TrainPartRefStructuregetTrainPartRef()Gets the value of the trainPartRef property.voidsetNumberOfBlockParts(BigInteger value)Sets the value of the numberOfBlockParts property.voidsetTrainPartRef(TrainPartRefStructure value)Sets the value of the trainPartRef property.
-
-
-
Field Detail
-
numberOfBlockParts
protected BigInteger numberOfBlockParts
-
trainPartRef
protected TrainPartRefStructure trainPartRef
-
positionOfTrainBlockParts
protected List<NaturalLanguageStringStructure> positionOfTrainBlockParts
-
-
Method Detail
-
getNumberOfBlockParts
public BigInteger getNumberOfBlockParts()
Gets the value of the numberOfBlockParts property.- Returns:
- possible object is
BigInteger
-
setNumberOfBlockParts
public void setNumberOfBlockParts(BigInteger value)
Sets the value of the numberOfBlockParts property.- Parameters:
value- allowed object isBigInteger
-
getTrainPartRef
public TrainPartRefStructure getTrainPartRef()
Gets the value of the trainPartRef property.- Returns:
- possible object is
TrainPartRefStructure
-
setTrainPartRef
public void setTrainPartRef(TrainPartRefStructure value)
Sets the value of the trainPartRef property.- Parameters:
value- allowed object isTrainPartRefStructure
-
getPositionOfTrainBlockParts
public List<NaturalLanguageStringStructure> getPositionOfTrainBlockParts()
Gets the value of the positionOfTrainBlockParts 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 positionOfTrainBlockParts property.For example, to add a new item, do as follows:
getPositionOfTrainBlockParts().add(newItem);Objects of the following type(s) are allowed in the list
NaturalLanguageStringStructure
-
-