public static class Instance.Drivers.DriverProfile.WorkloadProfile extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="max_work_time" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
<element name="max_driving_time" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
<element ref="{}tw" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Double |
maxDrivingTime |
protected Double |
maxWorkTime |
protected List<Tw> |
tw |
| Constructor and Description |
|---|
WorkloadProfile() |
| Modifier and Type | Method and Description |
|---|---|
Double |
getMaxDrivingTime()
Gets the value of the maxDrivingTime property.
|
Double |
getMaxWorkTime()
Gets the value of the maxWorkTime property.
|
List<Tw> |
getTw()
Driver's availability time windows.
|
void |
setMaxDrivingTime(Double value)
Sets the value of the maxDrivingTime property.
|
void |
setMaxWorkTime(Double value)
Sets the value of the maxWorkTime property.
|
protected Double maxWorkTime
protected Double maxDrivingTime
public Double getMaxWorkTime()
Doublepublic void setMaxWorkTime(Double value)
value - allowed object is
Doublepublic Double getMaxDrivingTime()
Doublepublic void setMaxDrivingTime(Double value)
value - allowed object is
Doublepublic List<Tw> getTw()
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 tw property.
For example, to add a new item, do as follows:
getTw().add(newItem);
Objects of the following type(s) are allowed in the list
Tw
Copyright © 2014 VRP-REP. All rights reserved.