org.vrprep.model.instance
Class Instance.Requests

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

public static class Instance.Requests
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="request" maxOccurs="unbounded">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element ref="{}tw" maxOccurs="unbounded" minOccurs="0"/>
                   <choice>
                     <element name="quantity" type="{http://www.w3.org/2001/XMLSchema}double"/>
                     <element name="td_quantity" type="{}time_dependent_parameter_type"/>
                     <element name="uncertain_quantity" type="{}uncertain_parameter_type"/>
                   </choice>
                   <element ref="{}demand" maxOccurs="unbounded" minOccurs="0"/>
                   <element name="prize" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="release" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <choice>
                     <element name="service_time" type="{http://www.w3.org/2001/XMLSchema}double"/>
                     <element name="td_service_time" type="{}time_dependent_parameter_type"/>
                     <element name="uncertain_service_time" type="{}uncertain_parameter_type"/>
                   </choice>
                   <element name="predecessors" minOccurs="0">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <sequence>
                             <element name="request" type="{http://www.w3.org/2001/XMLSchema}integer" maxOccurs="unbounded"/>
                           </sequence>
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                   <element name="successors" minOccurs="0">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <sequence>
                             <element name="request" type="{http://www.w3.org/2001/XMLSchema}integer" maxOccurs="unbounded"/>
                           </sequence>
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                   <element name="skill" type="{http://www.w3.org/2001/XMLSchema}int" maxOccurs="unbounded" minOccurs="0"/>
                   <element name="resource" maxOccurs="unbounded" minOccurs="0">
                     <complexType>
                       <simpleContent>
                         <extension base="<http://www.w3.org/2001/XMLSchema>double">
                           <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
                         </extension>
                       </simpleContent>
                     </complexType>
                   </element>
                 </sequence>
                 <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
                 <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}integer" />
                 <attribute name="node" type="{http://www.w3.org/2001/XMLSchema}integer" />
                 <attribute name="link" type="{http://www.w3.org/2001/XMLSchema}integer" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


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

Field Detail

request

protected List<Instance.Requests.Request> request
Constructor Detail

Instance.Requests

public Instance.Requests()
Method Detail

getRequest

public List<Instance.Requests.Request> getRequest()
Gets the value of the request 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 request property.

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

    getRequest().add(newItem);
 

Objects of the following type(s) are allowed in the list Instance.Requests.Request



Copyright © 2014 VRP-REP. All rights reserved.