public class TravelTimeData extends BasicData
Java class for TravelTimeData complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TravelTimeData"> <complexContent> <extension base="{http://datex2.eu/schema/2/2_0}BasicData"> <sequence> <element name="vehicleType" type="{http://datex2.eu/schema/2/2_0}VehicleTypeEnum" maxOccurs="unbounded" minOccurs="0"/> <element name="travelTime" type="{http://datex2.eu/schema/2/2_0}DurationValue" minOccurs="0"/> <element name="travelTimeDataExtension" type="{http://datex2.eu/schema/2/2_0}_ExtensionType" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected DurationValue |
travelTime |
protected ExtensionType |
travelTimeDataExtension |
protected java.util.List<VehicleTypeEnum> |
vehicleTypes |
basicDataExtension, measurementOrCalculationPeriod, measurementOrCalculationTime, pertinentLocation
Constructor and Description |
---|
TravelTimeData() |
Modifier and Type | Method and Description |
---|---|
DurationValue |
getTravelTime()
Gets the value of the travelTime property.
|
ExtensionType |
getTravelTimeDataExtension()
Gets the value of the travelTimeDataExtension property.
|
java.util.List<VehicleTypeEnum> |
getVehicleTypes()
Gets the value of the vehicleTypes property.
|
void |
setTravelTime(DurationValue value)
Sets the value of the travelTime property.
|
void |
setTravelTimeDataExtension(ExtensionType value)
Sets the value of the travelTimeDataExtension property.
|
getBasicDataExtension, getMeasurementOrCalculationPeriod, getMeasurementOrCalculationTime, getPertinentLocation, setBasicDataExtension, setMeasurementOrCalculationPeriod, setMeasurementOrCalculationTime, setPertinentLocation
protected java.util.List<VehicleTypeEnum> vehicleTypes
protected DurationValue travelTime
protected ExtensionType travelTimeDataExtension
public java.util.List<VehicleTypeEnum> getVehicleTypes()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the vehicleTypes property.
For example, to add a new item, do as follows:
getVehicleTypes().add(newItem);
Objects of the following type(s) are allowed in the list
VehicleTypeEnum
public DurationValue getTravelTime()
DurationValue
public void setTravelTime(DurationValue value)
value
- allowed object is
DurationValue
public ExtensionType getTravelTimeDataExtension()
ExtensionType
public void setTravelTimeDataExtension(ExtensionType value)
value
- allowed object is
ExtensionType