org.vrprep.model.instance
Class Instance.Drivers.DriverProfile.WorkloadProfile

java.lang.Object
  extended by org.vrprep.model.instance.Instance.Drivers.DriverProfile.WorkloadProfile
Enclosing class:
Instance.Drivers.DriverProfile

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>
 


Field Summary
protected  Double maxDrivingTime
           
protected  Double maxWorkTime
           
protected  List<Tw> tw
           
 
Constructor Summary
Instance.Drivers.DriverProfile.WorkloadProfile()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

maxWorkTime

protected Double maxWorkTime

maxDrivingTime

protected Double maxDrivingTime

tw

protected List<Tw> tw
Constructor Detail

Instance.Drivers.DriverProfile.WorkloadProfile

public Instance.Drivers.DriverProfile.WorkloadProfile()
Method Detail

getMaxWorkTime

public Double getMaxWorkTime()
Gets the value of the maxWorkTime property.

Returns:
possible object is Double

setMaxWorkTime

public void setMaxWorkTime(Double value)
Sets the value of the maxWorkTime property.

Parameters:
value - allowed object is Double

getMaxDrivingTime

public Double getMaxDrivingTime()
Gets the value of the maxDrivingTime property.

Returns:
possible object is Double

setMaxDrivingTime

public void setMaxDrivingTime(Double value)
Sets the value of the maxDrivingTime property.

Parameters:
value - allowed object is Double

getTw

public List<Tw> getTw()
Driver's availability time windows. May model either breaks or availability times Gets the value of the tw 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 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.