Package uk.org.siri.siri21
Class TrainComponent
- java.lang.Object
-
- uk.org.siri.siri21.TrainComponent
-
- All Implemented Interfaces:
Serializable
public class TrainComponent extends Object implements Serializable
Type for TRAIN COMPONENT. +SIRI v2.1Java class for TrainComponentStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TrainComponentStructure"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="TrainComponentCode" type="{http://www.siri.org.uk/siri}TrainComponentCodeType" minOccurs="0"/> <element name="Order" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/> <group ref="{http://www.siri.org.uk/siri}TrainComponentGroup"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected NaturalLanguageStringStructuredescriptionprotected NaturalLanguageStringStructurelabelprotected BigIntegerorderprotected BooleanreversedOrientationprotected StringtrainComponentCodeprotected TrainElementtrainElementprotected TrainElementReftrainElementRef
-
Constructor Summary
Constructors Constructor Description TrainComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NaturalLanguageStringStructuregetDescription()Gets the value of the description property.NaturalLanguageStringStructuregetLabel()Gets the value of the label property.BigIntegergetOrder()Gets the value of the order property.StringgetTrainComponentCode()Gets the value of the trainComponentCode property.TrainElementgetTrainElement()Gets the value of the trainElement property.TrainElementRefgetTrainElementRef()Gets the value of the trainElementRef property.BooleanisReversedOrientation()Gets the value of the reversedOrientation property.voidsetDescription(NaturalLanguageStringStructure value)Sets the value of the description property.voidsetLabel(NaturalLanguageStringStructure value)Sets the value of the label property.voidsetOrder(BigInteger value)Sets the value of the order property.voidsetReversedOrientation(Boolean value)Sets the value of the reversedOrientation property.voidsetTrainComponentCode(String value)Sets the value of the trainComponentCode property.voidsetTrainElement(TrainElement value)Sets the value of the trainElement property.voidsetTrainElementRef(TrainElementRef value)Sets the value of the trainElementRef property.
-
-
-
Field Detail
-
trainComponentCode
protected String trainComponentCode
-
order
protected BigInteger order
-
label
protected NaturalLanguageStringStructure label
-
description
protected NaturalLanguageStringStructure description
-
trainElement
protected TrainElement trainElement
-
trainElementRef
protected TrainElementRef trainElementRef
-
reversedOrientation
protected Boolean reversedOrientation
-
-
Method Detail
-
getTrainComponentCode
public String getTrainComponentCode()
Gets the value of the trainComponentCode property.- Returns:
- possible object is
String
-
setTrainComponentCode
public void setTrainComponentCode(String value)
Sets the value of the trainComponentCode property.- Parameters:
value- allowed object isString
-
getOrder
public BigInteger getOrder()
Gets the value of the order property.- Returns:
- possible object is
BigInteger
-
setOrder
public void setOrder(BigInteger value)
Sets the value of the order property.- Parameters:
value- allowed object isBigInteger
-
getLabel
public NaturalLanguageStringStructure getLabel()
Gets the value of the label property.- Returns:
- possible object is
NaturalLanguageStringStructure
-
setLabel
public void setLabel(NaturalLanguageStringStructure value)
Sets the value of the label property.- Parameters:
value- allowed object isNaturalLanguageStringStructure
-
getDescription
public NaturalLanguageStringStructure getDescription()
Gets the value of the description property.- Returns:
- possible object is
NaturalLanguageStringStructure
-
setDescription
public void setDescription(NaturalLanguageStringStructure value)
Sets the value of the description property.- Parameters:
value- allowed object isNaturalLanguageStringStructure
-
getTrainElement
public TrainElement getTrainElement()
Gets the value of the trainElement property.- Returns:
- possible object is
TrainElement
-
setTrainElement
public void setTrainElement(TrainElement value)
Sets the value of the trainElement property.- Parameters:
value- allowed object isTrainElement
-
getTrainElementRef
public TrainElementRef getTrainElementRef()
Gets the value of the trainElementRef property.- Returns:
- possible object is
TrainElementRef
-
setTrainElementRef
public void setTrainElementRef(TrainElementRef value)
Sets the value of the trainElementRef property.- Parameters:
value- allowed object isTrainElementRef
-
isReversedOrientation
public Boolean isReversedOrientation()
Gets the value of the reversedOrientation property.- Returns:
- possible object is
Boolean
-
-