public class TrainSizeStructure extends Object
Java class for TrainSizeStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TrainSizeStructure">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="NumberOfCars" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
<element name="TrainSizeType" type="{http://www.netex.org.uk/netex}TrainSizeEnumeration" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected BigInteger |
numberOfCars |
protected TrainSizeEnumeration |
trainSizeType |
| Constructor and Description |
|---|
TrainSizeStructure() |
| Modifier and Type | Method and Description |
|---|---|
BigInteger |
getNumberOfCars()
Gets the value of the numberOfCars property.
|
TrainSizeEnumeration |
getTrainSizeType()
Gets the value of the trainSizeType property.
|
void |
setNumberOfCars(BigInteger value)
Sets the value of the numberOfCars property.
|
void |
setTrainSizeType(TrainSizeEnumeration value)
Sets the value of the trainSizeType property.
|
String |
toString()
Generates a String representation of the contents of this type.
|
TrainSizeStructure |
withNumberOfCars(BigInteger value) |
TrainSizeStructure |
withTrainSizeType(TrainSizeEnumeration value) |
protected BigInteger numberOfCars
protected TrainSizeEnumeration trainSizeType
public BigInteger getNumberOfCars()
BigIntegerpublic void setNumberOfCars(BigInteger value)
value - allowed object is
BigIntegerpublic TrainSizeEnumeration getTrainSizeType()
TrainSizeEnumerationpublic void setTrainSizeType(TrainSizeEnumeration value)
value - allowed object is
TrainSizeEnumerationpublic TrainSizeStructure withNumberOfCars(BigInteger value)
public TrainSizeStructure withTrainSizeType(TrainSizeEnumeration value)
Copyright © 2018 Entur AS. All rights reserved.