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

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

public static class Instance.Drivers.DriverProfile
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>
         <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>
 


Nested Class Summary
static class Instance.Drivers.DriverProfile.CompatibleWithAllVehicles
          Java class for anonymous complex type.
static class Instance.Drivers.DriverProfile.Skill
          Java class for anonymous complex type.
static class Instance.Drivers.DriverProfile.WorkloadProfile
          Java class for anonymous complex type.
 
Field Summary
protected  List<Integer> compatibleVehicleType
           
protected  Instance.Drivers.DriverProfile.CompatibleWithAllVehicles compatibleWithAllVehicles
           
protected  List<Instance.Drivers.DriverProfile.Skill> skill
           
protected  int type
           
protected  Instance.Drivers.DriverProfile.WorkloadProfile workloadProfile
           
 
Constructor Summary
Instance.Drivers.DriverProfile()
           
 
Method Summary
 List<Integer> getCompatibleVehicleType()
          Gets the value of the compatibleVehicleType property.
 Instance.Drivers.DriverProfile.CompatibleWithAllVehicles getCompatibleWithAllVehicles()
          Gets the value of the compatibleWithAllVehicles property.
 List<Instance.Drivers.DriverProfile.Skill> getSkill()
          Gets the value of the skill property.
 int getType()
          Gets the value of the type property.
 Instance.Drivers.DriverProfile.WorkloadProfile getWorkloadProfile()
          Gets the value of the workloadProfile property.
 void setCompatibleWithAllVehicles(Instance.Drivers.DriverProfile.CompatibleWithAllVehicles value)
          Sets the value of the compatibleWithAllVehicles property.
 void setType(int value)
          Sets the value of the type property.
 void setWorkloadProfile(Instance.Drivers.DriverProfile.WorkloadProfile value)
          Sets the value of the workloadProfile property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

compatibleWithAllVehicles

protected Instance.Drivers.DriverProfile.CompatibleWithAllVehicles compatibleWithAllVehicles

compatibleVehicleType

protected List<Integer> compatibleVehicleType

skill

protected List<Instance.Drivers.DriverProfile.Skill> skill

workloadProfile

protected Instance.Drivers.DriverProfile.WorkloadProfile workloadProfile

type

protected int type
Constructor Detail

Instance.Drivers.DriverProfile

public Instance.Drivers.DriverProfile()
Method Detail

getCompatibleWithAllVehicles

public Instance.Drivers.DriverProfile.CompatibleWithAllVehicles getCompatibleWithAllVehicles()
Gets the value of the compatibleWithAllVehicles property.

Returns:
possible object is Instance.Drivers.DriverProfile.CompatibleWithAllVehicles

setCompatibleWithAllVehicles

public void setCompatibleWithAllVehicles(Instance.Drivers.DriverProfile.CompatibleWithAllVehicles value)
Sets the value of the compatibleWithAllVehicles property.

Parameters:
value - allowed object is Instance.Drivers.DriverProfile.CompatibleWithAllVehicles

getCompatibleVehicleType

public List<Integer> getCompatibleVehicleType()
Gets the value of the compatibleVehicleType 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 compatibleVehicleType property.

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

    getCompatibleVehicleType().add(newItem);
 

Objects of the following type(s) are allowed in the list Integer


getSkill

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

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

    getSkill().add(newItem);
 

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


getWorkloadProfile

public Instance.Drivers.DriverProfile.WorkloadProfile getWorkloadProfile()
Gets the value of the workloadProfile property.

Returns:
possible object is Instance.Drivers.DriverProfile.WorkloadProfile

setWorkloadProfile

public void setWorkloadProfile(Instance.Drivers.DriverProfile.WorkloadProfile value)
Sets the value of the workloadProfile property.

Parameters:
value - allowed object is Instance.Drivers.DriverProfile.WorkloadProfile

getType

public int getType()
Gets the value of the type property.


setType

public void setType(int value)
Sets the value of the type property.



Copyright © 2014 VRP-REP. All rights reserved.