Package uk.org.siri.siri21
Class CompoundTrain
- java.lang.Object
-
- uk.org.siri.siri21.CompoundTrain
-
- All Implemented Interfaces:
Serializable
public class CompoundTrain extends Object implements Serializable
Type for COMPOUND TRAIN. +SIRI v2.1Java class for CompoundTrainStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CompoundTrainStructure"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="CompoundTrainCode" type="{http://www.siri.org.uk/siri}CompoundTrainCodeType" minOccurs="0"/> <group ref="{http://www.siri.org.uk/siri}VehicleTypeGroup"/> <element name="TrainsInCompoundTrain" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice maxOccurs="unbounded"> <element ref="{http://www.siri.org.uk/siri}TrainInCompoundTrainRef"/> <element ref="{http://www.siri.org.uk/siri}TrainInCompoundTrain"/> </choice> </restriction> </complexContent> </complexType> </element> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCompoundTrain.TrainsInCompoundTrainJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected StringcompoundTrainCodeprotected NaturalLanguageStringStructuredescriptionprotected StringeuroClassprotected TrainElement.Facilitiesfacilitiesprotected BooleanhasHoistprotected BooleanhasLiftOrRampprotected BigDecimalheightprotected BigDecimallengthprotected BooleanlowFloorprotected TrainElement.MaximumPassengerCapacitiesmaximumPassengerCapacitiesprotected NaturalLanguageStringStructurenameprotected StringprivateCodeprotected BooleanreversingDirectionprotected BooleanselfPropelledprotected NaturalLanguageStringStructureshortNameprotected CompoundTrain.TrainsInCompoundTraintrainsInCompoundTrainprotected TypeOfFuelEnumerationtypeOfFuelprotected BigDecimalweightprotected BigDecimalwidth
-
Constructor Summary
Constructors Constructor Description CompoundTrain()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCompoundTrainCode()Gets the value of the compoundTrainCode property.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.StringgetPrivateCode()Gets the value of the privateCode property.NaturalLanguageStringStructuregetShortName()Gets the value of the shortName property.CompoundTrain.TrainsInCompoundTraingetTrainsInCompoundTrain()Gets the value of the trainsInCompoundTrain 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.voidsetCompoundTrainCode(String value)Sets the value of the compoundTrainCode 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.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.voidsetTrainsInCompoundTrain(CompoundTrain.TrainsInCompoundTrain value)Sets the value of the trainsInCompoundTrain 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
-
compoundTrainCode
protected String compoundTrainCode
-
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
-
trainsInCompoundTrain
protected CompoundTrain.TrainsInCompoundTrain trainsInCompoundTrain
-
-
Method Detail
-
getCompoundTrainCode
public String getCompoundTrainCode()
Gets the value of the compoundTrainCode property.- Returns:
- possible object is
String
-
setCompoundTrainCode
public void setCompoundTrainCode(String value)
Sets the value of the compoundTrainCode 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
-
getTrainsInCompoundTrain
public CompoundTrain.TrainsInCompoundTrain getTrainsInCompoundTrain()
Gets the value of the trainsInCompoundTrain property.- Returns:
- possible object is
CompoundTrain.TrainsInCompoundTrain
-
setTrainsInCompoundTrain
public void setTrainsInCompoundTrain(CompoundTrain.TrainsInCompoundTrain value)
Sets the value of the trainsInCompoundTrain property.- Parameters:
value- allowed object isCompoundTrain.TrainsInCompoundTrain
-
-