Package uk.org.siri.siri21
Class Train
- java.lang.Object
-
- uk.org.siri.siri21.Train
-
- All Implemented Interfaces:
Serializable
public class Train extends Object implements Serializable
Type for TRAIN. +SIRI v2.1Java class for TrainStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TrainStructure"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="TrainCode" type="{http://www.siri.org.uk/siri}TrainCodeType" minOccurs="0"/> <group ref="{http://www.siri.org.uk/siri}VehicleTypeGroup"/> <group ref="{http://www.siri.org.uk/siri}TrainGroup"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTrain.TrainComponentsJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected NaturalLanguageStringStructuredescriptionprotected StringeuroClassprotected TrainElement.Facilitiesfacilitiesprotected BooleanhasHoistprotected BooleanhasLiftOrRampprotected BigDecimalheightprotected BigDecimallengthprotected BooleanlowFloorprotected TrainElement.MaximumPassengerCapacitiesmaximumPassengerCapacitiesprotected NaturalLanguageStringStructurenameprotected BigIntegernumberOfCarsprotected StringprivateCodeprotected BooleanreversingDirectionprotected BooleanselfPropelledprotected NaturalLanguageStringStructureshortNameprotected StringtrainCodeprotected Train.TrainComponentstrainComponentsprotected TrainSizeEnumerationtrainSizeTypeprotected TypeOfFuelEnumerationtypeOfFuelprotected BigDecimalweightprotected BigDecimalwidth
-
Constructor Summary
Constructors Constructor Description Train()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NaturalLanguageStringStructuregetDescription()Gets the value of the description property.StringgetEuroClass()Gets the value of the euroClass property.TrainElement.FacilitiesgetFacilities()Gets the value of the facilities property.BigDecimalgetHeight()Gets the value of the height property.BigDecimalgetLength()Gets the value of the length property.TrainElement.MaximumPassengerCapacitiesgetMaximumPassengerCapacities()Gets the value of the maximumPassengerCapacities property.NaturalLanguageStringStructuregetName()Gets the value of the name property.BigIntegergetNumberOfCars()Gets the value of the numberOfCars property.StringgetPrivateCode()Gets the value of the privateCode property.NaturalLanguageStringStructuregetShortName()Gets the value of the shortName property.StringgetTrainCode()Gets the value of the trainCode property.Train.TrainComponentsgetTrainComponents()Gets the value of the trainComponents property.TrainSizeEnumerationgetTrainSizeType()Gets the value of the trainSizeType property.TypeOfFuelEnumerationgetTypeOfFuel()Gets the value of the typeOfFuel property.BigDecimalgetWeight()Gets the value of the weight property.BigDecimalgetWidth()Gets the value of the width property.BooleanisHasHoist()Gets the value of the hasHoist property.BooleanisHasLiftOrRamp()Gets the value of the hasLiftOrRamp property.BooleanisLowFloor()Gets the value of the lowFloor property.BooleanisReversingDirection()Gets the value of the reversingDirection property.BooleanisSelfPropelled()Gets the value of the selfPropelled property.voidsetDescription(NaturalLanguageStringStructure value)Sets the value of the description property.voidsetEuroClass(String value)Sets the value of the euroClass property.voidsetFacilities(TrainElement.Facilities value)Sets the value of the facilities property.voidsetHasHoist(Boolean value)Sets the value of the hasHoist property.voidsetHasLiftOrRamp(Boolean value)Sets the value of the hasLiftOrRamp property.voidsetHeight(BigDecimal value)Sets the value of the height property.voidsetLength(BigDecimal value)Sets the value of the length property.voidsetLowFloor(Boolean value)Sets the value of the lowFloor property.voidsetMaximumPassengerCapacities(TrainElement.MaximumPassengerCapacities value)Sets the value of the maximumPassengerCapacities property.voidsetName(NaturalLanguageStringStructure value)Sets the value of the name property.voidsetNumberOfCars(BigInteger value)Sets the value of the numberOfCars property.voidsetPrivateCode(String value)Sets the value of the privateCode property.voidsetReversingDirection(Boolean value)Sets the value of the reversingDirection property.voidsetSelfPropelled(Boolean value)Sets the value of the selfPropelled property.voidsetShortName(NaturalLanguageStringStructure value)Sets the value of the shortName property.voidsetTrainCode(String value)Sets the value of the trainCode property.voidsetTrainComponents(Train.TrainComponents value)Sets the value of the trainComponents property.voidsetTrainSizeType(TrainSizeEnumeration value)Sets the value of the trainSizeType property.voidsetTypeOfFuel(TypeOfFuelEnumeration value)Sets the value of the typeOfFuel property.voidsetWeight(BigDecimal value)Sets the value of the weight property.voidsetWidth(BigDecimal value)Sets the value of the width property.
-
-
-
Field Detail
-
trainCode
protected String trainCode
-
name
protected NaturalLanguageStringStructure name
-
shortName
protected NaturalLanguageStringStructure shortName
-
description
protected NaturalLanguageStringStructure description
-
privateCode
protected String privateCode
-
reversingDirection
protected Boolean reversingDirection
-
selfPropelled
protected Boolean selfPropelled
-
typeOfFuel
protected TypeOfFuelEnumeration typeOfFuel
-
euroClass
protected String euroClass
-
maximumPassengerCapacities
protected TrainElement.MaximumPassengerCapacities maximumPassengerCapacities
-
lowFloor
protected Boolean lowFloor
-
hasLiftOrRamp
protected Boolean hasLiftOrRamp
-
hasHoist
protected Boolean hasHoist
-
length
protected BigDecimal length
-
width
protected BigDecimal width
-
height
protected BigDecimal height
-
weight
protected BigDecimal weight
-
facilities
protected TrainElement.Facilities facilities
-
numberOfCars
protected BigInteger numberOfCars
-
trainSizeType
protected TrainSizeEnumeration trainSizeType
-
trainComponents
protected Train.TrainComponents trainComponents
-
-
Method Detail
-
getTrainCode
public String getTrainCode()
Gets the value of the trainCode property.- Returns:
- possible object is
String
-
setTrainCode
public void setTrainCode(String value)
Sets the value of the trainCode property.- Parameters:
value- allowed object isString
-
getName
public NaturalLanguageStringStructure getName()
Gets the value of the name property.- Returns:
- possible object is
NaturalLanguageStringStructure
-
setName
public void setName(NaturalLanguageStringStructure value)
Sets the value of the name property.- Parameters:
value- allowed object isNaturalLanguageStringStructure
-
getShortName
public NaturalLanguageStringStructure getShortName()
Gets the value of the shortName property.- Returns:
- possible object is
NaturalLanguageStringStructure
-
setShortName
public void setShortName(NaturalLanguageStringStructure value)
Sets the value of the shortName 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
-
getPrivateCode
public String getPrivateCode()
Gets the value of the privateCode property.- Returns:
- possible object is
String
-
setPrivateCode
public void setPrivateCode(String value)
Sets the value of the privateCode property.- Parameters:
value- allowed object isString
-
isReversingDirection
public Boolean isReversingDirection()
Gets the value of the reversingDirection property.- Returns:
- possible object is
Boolean
-
setReversingDirection
public void setReversingDirection(Boolean value)
Sets the value of the reversingDirection property.- Parameters:
value- allowed object isBoolean
-
isSelfPropelled
public Boolean isSelfPropelled()
Gets the value of the selfPropelled property.- Returns:
- possible object is
Boolean
-
setSelfPropelled
public void setSelfPropelled(Boolean value)
Sets the value of the selfPropelled property.- Parameters:
value- allowed object isBoolean
-
getTypeOfFuel
public TypeOfFuelEnumeration getTypeOfFuel()
Gets the value of the typeOfFuel property.- Returns:
- possible object is
TypeOfFuelEnumeration
-
setTypeOfFuel
public void setTypeOfFuel(TypeOfFuelEnumeration value)
Sets the value of the typeOfFuel property.- Parameters:
value- allowed object isTypeOfFuelEnumeration
-
getEuroClass
public String getEuroClass()
Gets the value of the euroClass property.- Returns:
- possible object is
String
-
setEuroClass
public void setEuroClass(String value)
Sets the value of the euroClass property.- Parameters:
value- allowed object isString
-
getMaximumPassengerCapacities
public TrainElement.MaximumPassengerCapacities getMaximumPassengerCapacities()
Gets the value of the maximumPassengerCapacities property.- Returns:
- possible object is
TrainElement.MaximumPassengerCapacities
-
setMaximumPassengerCapacities
public void setMaximumPassengerCapacities(TrainElement.MaximumPassengerCapacities value)
Sets the value of the maximumPassengerCapacities property.- Parameters:
value- allowed object isTrainElement.MaximumPassengerCapacities
-
isLowFloor
public Boolean isLowFloor()
Gets the value of the lowFloor property.- Returns:
- possible object is
Boolean
-
setLowFloor
public void setLowFloor(Boolean value)
Sets the value of the lowFloor property.- Parameters:
value- allowed object isBoolean
-
isHasLiftOrRamp
public Boolean isHasLiftOrRamp()
Gets the value of the hasLiftOrRamp property.- Returns:
- possible object is
Boolean
-
setHasLiftOrRamp
public void setHasLiftOrRamp(Boolean value)
Sets the value of the hasLiftOrRamp property.- Parameters:
value- allowed object isBoolean
-
isHasHoist
public Boolean isHasHoist()
Gets the value of the hasHoist property.- Returns:
- possible object is
Boolean
-
setHasHoist
public void setHasHoist(Boolean value)
Sets the value of the hasHoist property.- Parameters:
value- allowed object isBoolean
-
getLength
public BigDecimal getLength()
Gets the value of the length property.- Returns:
- possible object is
BigDecimal
-
setLength
public void setLength(BigDecimal value)
Sets the value of the length property.- Parameters:
value- allowed object isBigDecimal
-
getWidth
public BigDecimal getWidth()
Gets the value of the width property.- Returns:
- possible object is
BigDecimal
-
setWidth
public void setWidth(BigDecimal value)
Sets the value of the width property.- Parameters:
value- allowed object isBigDecimal
-
getHeight
public BigDecimal getHeight()
Gets the value of the height property.- Returns:
- possible object is
BigDecimal
-
setHeight
public void setHeight(BigDecimal value)
Sets the value of the height property.- Parameters:
value- allowed object isBigDecimal
-
getWeight
public BigDecimal getWeight()
Gets the value of the weight property.- Returns:
- possible object is
BigDecimal
-
setWeight
public void setWeight(BigDecimal value)
Sets the value of the weight property.- Parameters:
value- allowed object isBigDecimal
-
getFacilities
public TrainElement.Facilities getFacilities()
Gets the value of the facilities property.- Returns:
- possible object is
TrainElement.Facilities
-
setFacilities
public void setFacilities(TrainElement.Facilities value)
Sets the value of the facilities property.- Parameters:
value- allowed object isTrainElement.Facilities
-
getNumberOfCars
public BigInteger getNumberOfCars()
Gets the value of the numberOfCars property.- Returns:
- possible object is
BigInteger
-
setNumberOfCars
public void setNumberOfCars(BigInteger value)
Sets the value of the numberOfCars property.- Parameters:
value- allowed object isBigInteger
-
getTrainSizeType
public TrainSizeEnumeration getTrainSizeType()
Gets the value of the trainSizeType property.- Returns:
- possible object is
TrainSizeEnumeration
-
setTrainSizeType
public void setTrainSizeType(TrainSizeEnumeration value)
Sets the value of the trainSizeType property.- Parameters:
value- allowed object isTrainSizeEnumeration
-
getTrainComponents
public Train.TrainComponents getTrainComponents()
Gets the value of the trainComponents property.- Returns:
- possible object is
Train.TrainComponents
-
setTrainComponents
public void setTrainComponents(Train.TrainComponents value)
Sets the value of the trainComponents property.- Parameters:
value- allowed object isTrain.TrainComponents
-
-