Package uk.org.siri.siri10
Class TrainBlockPartStructure
- java.lang.Object
-
- uk.org.siri.siri10.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/}TrainPartRefStructure"/> <element name="PositionOfTrainBlockPart" type="{http://www.siri.org.uk/}NaturalLanguageStringStructure" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected BigIntegernumberOfBlockPartsprotected NaturalLanguageStringStructurepositionOfTrainBlockPartprotected 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.NaturalLanguageStringStructuregetPositionOfTrainBlockPart()Gets the value of the positionOfTrainBlockPart property.TrainPartRefStructuregetTrainPartRef()Gets the value of the trainPartRef property.voidsetNumberOfBlockParts(BigInteger value)Sets the value of the numberOfBlockParts property.voidsetPositionOfTrainBlockPart(NaturalLanguageStringStructure value)Sets the value of the positionOfTrainBlockPart property.voidsetTrainPartRef(TrainPartRefStructure value)Sets the value of the trainPartRef property.
-
-
-
Field Detail
-
numberOfBlockParts
protected BigInteger numberOfBlockParts
-
trainPartRef
protected TrainPartRefStructure trainPartRef
-
positionOfTrainBlockPart
protected NaturalLanguageStringStructure positionOfTrainBlockPart
-
-
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
-
getPositionOfTrainBlockPart
public NaturalLanguageStringStructure getPositionOfTrainBlockPart()
Gets the value of the positionOfTrainBlockPart property.- Returns:
- possible object is
NaturalLanguageStringStructure
-
setPositionOfTrainBlockPart
public void setPositionOfTrainBlockPart(NaturalLanguageStringStructure value)
Sets the value of the positionOfTrainBlockPart property.- Parameters:
value- allowed object isNaturalLanguageStringStructure
-
-