Class TravelTimeValue
- java.lang.Object
-
- eu.datex2.siri13.schema._1_0._1_0.BasicDataValue
-
- eu.datex2.siri13.schema._1_0._1_0.TravelTimeValue
-
- All Implemented Interfaces:
Serializable
public class TravelTimeValue extends BasicDataValue implements Serializable
Derived/computed travel time information relating to a specific group of locations.Java class for TravelTimeValue complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TravelTimeValue"> <complexContent> <extension base="{http://datex2.eu/schema/1_0/1_0}BasicDataValue"> <sequence> <element name="travelTime" type="{http://datex2.eu/schema/1_0/1_0}Seconds" minOccurs="0"/> <element name="travelTimeTrendType" type="{http://datex2.eu/schema/1_0/1_0}TravelTimeTrendTypeEnum" minOccurs="0"/> <element name="travelTimeType" type="{http://datex2.eu/schema/1_0/1_0}TravelTimeTypeEnum" minOccurs="0"/> <element name="freeFlowSpeed" type="{http://datex2.eu/schema/1_0/1_0}KilometresPerHour" minOccurs="0"/> <element name="freeFlowTravelTime" type="{http://datex2.eu/schema/1_0/1_0}Seconds" minOccurs="0"/> <element name="normallyExpectedTravelTime" type="{http://datex2.eu/schema/1_0/1_0}Seconds" minOccurs="0"/> <element name="vehicleType" type="{http://datex2.eu/schema/1_0/1_0}VehicleTypeEnum" maxOccurs="unbounded" minOccurs="0"/> <element name="travelTimeValueExtension" type="{http://datex2.eu/schema/1_0/1_0}ExtensionType" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class eu.datex2.siri13.schema._1_0._1_0.BasicDataValue
BasicDataValue.FaultReason
-
-
Field Summary
Fields Modifier and Type Field Description protected FloatfreeFlowSpeedprotected FloatfreeFlowTravelTimeprotected FloatnormallyExpectedTravelTimeprotected FloattravelTimeprotected TravelTimeTrendTypeEnumtravelTimeTrendTypeprotected TravelTimeTypeEnumtravelTimeTypeprotected ExtensionTypetravelTimeValueExtensionprotected List<VehicleTypeEnum>vehicleTypes-
Fields inherited from class eu.datex2.siri13.schema._1_0._1_0.BasicDataValue
accuracy, affectedLocation, basicDataValueExtension, computationalMethod, fault, faultReason, numberOfIncompleteInputs, numberOfInputValuesUsed, period, smoothingFactor, standardDeviation, supplierCalculatedDataQuality, time
-
-
Constructor Summary
Constructors Constructor Description TravelTimeValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FloatgetFreeFlowSpeed()Gets the value of the freeFlowSpeed property.FloatgetFreeFlowTravelTime()Gets the value of the freeFlowTravelTime property.FloatgetNormallyExpectedTravelTime()Gets the value of the normallyExpectedTravelTime property.FloatgetTravelTime()Gets the value of the travelTime property.TravelTimeTrendTypeEnumgetTravelTimeTrendType()Gets the value of the travelTimeTrendType property.TravelTimeTypeEnumgetTravelTimeType()Gets the value of the travelTimeType property.ExtensionTypegetTravelTimeValueExtension()Gets the value of the travelTimeValueExtension property.List<VehicleTypeEnum>getVehicleTypes()Gets the value of the vehicleTypes property.voidsetFreeFlowSpeed(Float value)Sets the value of the freeFlowSpeed property.voidsetFreeFlowTravelTime(Float value)Sets the value of the freeFlowTravelTime property.voidsetNormallyExpectedTravelTime(Float value)Sets the value of the normallyExpectedTravelTime property.voidsetTravelTime(Float value)Sets the value of the travelTime property.voidsetTravelTimeTrendType(TravelTimeTrendTypeEnum value)Sets the value of the travelTimeTrendType property.voidsetTravelTimeType(TravelTimeTypeEnum value)Sets the value of the travelTimeType property.voidsetTravelTimeValueExtension(ExtensionType value)Sets the value of the travelTimeValueExtension property.-
Methods inherited from class eu.datex2.siri13.schema._1_0._1_0.BasicDataValue
getAccuracy, getAffectedLocation, getBasicDataValueExtension, getComputationalMethod, getFaultReason, getNumberOfIncompleteInputs, getNumberOfInputValuesUsed, getPeriod, getSmoothingFactor, getStandardDeviation, getSupplierCalculatedDataQuality, getTime, isFault, setAccuracy, setAffectedLocation, setBasicDataValueExtension, setComputationalMethod, setFault, setFaultReason, setNumberOfIncompleteInputs, setNumberOfInputValuesUsed, setPeriod, setSmoothingFactor, setStandardDeviation, setSupplierCalculatedDataQuality, setTime
-
-
-
-
Field Detail
-
travelTime
protected Float travelTime
-
travelTimeTrendType
protected TravelTimeTrendTypeEnum travelTimeTrendType
-
travelTimeType
protected TravelTimeTypeEnum travelTimeType
-
freeFlowSpeed
protected Float freeFlowSpeed
-
freeFlowTravelTime
protected Float freeFlowTravelTime
-
normallyExpectedTravelTime
protected Float normallyExpectedTravelTime
-
vehicleTypes
protected List<VehicleTypeEnum> vehicleTypes
-
travelTimeValueExtension
protected ExtensionType travelTimeValueExtension
-
-
Method Detail
-
getTravelTime
public Float getTravelTime()
Gets the value of the travelTime property.- Returns:
- possible object is
Float
-
setTravelTime
public void setTravelTime(Float value)
Sets the value of the travelTime property.- Parameters:
value- allowed object isFloat
-
getTravelTimeTrendType
public TravelTimeTrendTypeEnum getTravelTimeTrendType()
Gets the value of the travelTimeTrendType property.- Returns:
- possible object is
TravelTimeTrendTypeEnum
-
setTravelTimeTrendType
public void setTravelTimeTrendType(TravelTimeTrendTypeEnum value)
Sets the value of the travelTimeTrendType property.- Parameters:
value- allowed object isTravelTimeTrendTypeEnum
-
getTravelTimeType
public TravelTimeTypeEnum getTravelTimeType()
Gets the value of the travelTimeType property.- Returns:
- possible object is
TravelTimeTypeEnum
-
setTravelTimeType
public void setTravelTimeType(TravelTimeTypeEnum value)
Sets the value of the travelTimeType property.- Parameters:
value- allowed object isTravelTimeTypeEnum
-
getFreeFlowSpeed
public Float getFreeFlowSpeed()
Gets the value of the freeFlowSpeed property.- Returns:
- possible object is
Float
-
setFreeFlowSpeed
public void setFreeFlowSpeed(Float value)
Sets the value of the freeFlowSpeed property.- Parameters:
value- allowed object isFloat
-
getFreeFlowTravelTime
public Float getFreeFlowTravelTime()
Gets the value of the freeFlowTravelTime property.- Returns:
- possible object is
Float
-
setFreeFlowTravelTime
public void setFreeFlowTravelTime(Float value)
Sets the value of the freeFlowTravelTime property.- Parameters:
value- allowed object isFloat
-
getNormallyExpectedTravelTime
public Float getNormallyExpectedTravelTime()
Gets the value of the normallyExpectedTravelTime property.- Returns:
- possible object is
Float
-
setNormallyExpectedTravelTime
public void setNormallyExpectedTravelTime(Float value)
Sets the value of the normallyExpectedTravelTime property.- Parameters:
value- allowed object isFloat
-
getVehicleTypes
public List<VehicleTypeEnum> getVehicleTypes()
Gets the value of the vehicleTypes property.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 Jakarta XML Binding object. This is why there is not a
setmethod 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
-
getTravelTimeValueExtension
public ExtensionType getTravelTimeValueExtension()
Gets the value of the travelTimeValueExtension property.- Returns:
- possible object is
ExtensionType
-
setTravelTimeValueExtension
public void setTravelTimeValueExtension(ExtensionType value)
Sets the value of the travelTimeValueExtension property.- Parameters:
value- allowed object isExtensionType
-
-