org.vrprep.model.instance
Class Instance.Drivers

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

public static class Instance.Drivers
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="driver_profile" maxOccurs="unbounded">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <choice>
                     <element name="compatible_with_all_vehicles">
                       <complexType>
                         <complexContent>
                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           </restriction>
                         </complexContent>
                       </complexType>
                     </element>
                     <element name="compatible_vehicle_type" type="{http://www.w3.org/2001/XMLSchema}int" maxOccurs="unbounded"/>
                   </choice>
                   <element name="skill" maxOccurs="unbounded" minOccurs="0">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                   <element name="workload_profile" minOccurs="0">
                     <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>
                   </element>
                 </sequence>
                 <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class Instance.Drivers.DriverProfile
          Java class for anonymous complex type.
 
Field Summary
protected  List<Instance.Drivers.DriverProfile> driverProfile
           
 
Constructor Summary
Instance.Drivers()
           
 
Method Summary
 List<Instance.Drivers.DriverProfile> getDriverProfile()
          Gets the value of the driverProfile property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

driverProfile

protected List<Instance.Drivers.DriverProfile> driverProfile
Constructor Detail

Instance.Drivers

public Instance.Drivers()
Method Detail

getDriverProfile

public List<Instance.Drivers.DriverProfile> getDriverProfile()
Gets the value of the driverProfile 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 driverProfile property.

For example, to add a new item, do as follows:

    getDriverProfile().add(newItem);
 

Objects of the following type(s) are allowed in the list Instance.Drivers.DriverProfile



Copyright © 2014 VRP-REP. All rights reserved.