org.vrprep.model.solution
Class Solution.Routes

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

public static class Solution.Routes
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="route" maxOccurs="unbounded">
           <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>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


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

Field Detail

route

protected List<Solution.Routes.Route> route
Constructor Detail

Solution.Routes

public Solution.Routes()
Method Detail

getRoute

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

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

    getRoute().add(newItem);
 

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



Copyright © 2014 VRP-REP. All rights reserved.