org.vrprep.model.solution
Class Solution.Routes.Route

java.lang.Object
  extended by org.vrprep.model.solution.Solution.Routes.Route
Enclosing class:
Solution.Routes

public static class Solution.Routes.Route
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="events" maxOccurs="unbounded">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element ref="{}service" minOccurs="0"/>
                   <element name="stop_at_depot" minOccurs="0">
                     <complexType>
                       <complexContent>
                         <extension base="{}stop">
                         </extension>
                       </complexContent>
                     </complexType>
                   </element>
                   <element name="break" type="{}stop" minOccurs="0"/>
                   <element name="recharge" type="{}stop" minOccurs="0"/>
                   <element name="detach" type="{}stop" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
       <attribute name="vehicle_type" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
       <attribute name="driver_profile" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class Solution.Routes.Route.Events
          Java class for anonymous complex type.
 
Field Summary
protected  String driverProfile
           
protected  List<Solution.Routes.Route.Events> events
           
protected  BigInteger id
           
protected  BigInteger vehicleType
           
 
Constructor Summary
Solution.Routes.Route()
           
 
Method Summary
 String getDriverProfile()
          Gets the value of the driverProfile property.
 List<Solution.Routes.Route.Events> getEvents()
          Gets the value of the events property.
 BigInteger getId()
          Gets the value of the id property.
 BigInteger getVehicleType()
          Gets the value of the vehicleType property.
 void setDriverProfile(String value)
          Sets the value of the driverProfile property.
 void setId(BigInteger value)
          Sets the value of the id property.
 void setVehicleType(BigInteger value)
          Sets the value of the vehicleType property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

events

protected List<Solution.Routes.Route.Events> events

id

protected BigInteger id

vehicleType

protected BigInteger vehicleType

driverProfile

protected String driverProfile
Constructor Detail

Solution.Routes.Route

public Solution.Routes.Route()
Method Detail

getEvents

public List<Solution.Routes.Route.Events> getEvents()
Gets the value of the events 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 events property.

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

    getEvents().add(newItem);
 

Objects of the following type(s) are allowed in the list Solution.Routes.Route.Events


getId

public BigInteger getId()
Gets the value of the id property.

Returns:
possible object is BigInteger

setId

public void setId(BigInteger value)
Sets the value of the id property.

Parameters:
value - allowed object is BigInteger

getVehicleType

public BigInteger getVehicleType()
Gets the value of the vehicleType property.

Returns:
possible object is BigInteger

setVehicleType

public void setVehicleType(BigInteger value)
Sets the value of the vehicleType property.

Parameters:
value - allowed object is BigInteger

getDriverProfile

public String getDriverProfile()
Gets the value of the driverProfile property.

Returns:
possible object is String

setDriverProfile

public void setDriverProfile(String value)
Sets the value of the driverProfile property.

Parameters:
value - allowed object is String


Copyright © 2014 VRP-REP. All rights reserved.