org.vrprep.model.instance
Class Instance.Requests.Request

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

public static class Instance.Requests.Request
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 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>
 


Nested Class Summary
static class Instance.Requests.Request.Predecessors
          Java class for anonymous complex type.
static class Instance.Requests.Request.Resource
          Java class for anonymous complex type.
static class Instance.Requests.Request.Successors
          Java class for anonymous complex type.
 
Field Summary
protected  List<Demand> demand
           
protected  BigInteger id
           
protected  BigInteger link
           
protected  BigInteger node
           
protected  Instance.Requests.Request.Predecessors predecessors
           
protected  Double prize
           
protected  Double quantity
           
protected  Double release
           
protected  List<Instance.Requests.Request.Resource> resource
           
protected  Double serviceTime
           
protected  List<Integer> skill
           
protected  Instance.Requests.Request.Successors successors
           
protected  TimeDependentParameterType tdQuantity
           
protected  TimeDependentParameterType tdServiceTime
           
protected  List<Tw> tw
           
protected  BigInteger type
           
protected  UncertainParameterType uncertainQuantity
           
protected  UncertainParameterType uncertainServiceTime
           
 
Constructor Summary
Instance.Requests.Request()
           
 
Method Summary
 List<Demand> getDemand()
          Model a customer demands (e.g., CVRP) Gets the value of the demand property.
 BigInteger getId()
          Gets the value of the id property.
 BigInteger getLink()
          Gets the value of the link property.
 BigInteger getNode()
          Gets the value of the node property.
 Instance.Requests.Request.Predecessors getPredecessors()
          Gets the value of the predecessors property.
 Double getPrize()
          Gets the value of the prize property.
 Double getQuantity()
          Gets the value of the quantity property.
 Double getRelease()
          Gets the value of the release property.
 List<Instance.Requests.Request.Resource> getResource()
          Gets the value of the resource property.
 Double getServiceTime()
          Gets the value of the serviceTime property.
 List<Integer> getSkill()
          Gets the value of the skill property.
 Instance.Requests.Request.Successors getSuccessors()
          Gets the value of the successors property.
 TimeDependentParameterType getTdQuantity()
          Gets the value of the tdQuantity property.
 TimeDependentParameterType getTdServiceTime()
          Gets the value of the tdServiceTime property.
 List<Tw> getTw()
          Model request time windows (e.g., VRPTW) Gets the value of the tw property.
 BigInteger getType()
          Gets the value of the type property.
 UncertainParameterType getUncertainQuantity()
          Gets the value of the uncertainQuantity property.
 UncertainParameterType getUncertainServiceTime()
          Gets the value of the uncertainServiceTime property.
 void setId(BigInteger value)
          Sets the value of the id property.
 void setLink(BigInteger value)
          Sets the value of the link property.
 void setNode(BigInteger value)
          Sets the value of the node property.
 void setPredecessors(Instance.Requests.Request.Predecessors value)
          Sets the value of the predecessors property.
 void setPrize(Double value)
          Sets the value of the prize property.
 void setQuantity(Double value)
          Sets the value of the quantity property.
 void setRelease(Double value)
          Sets the value of the release property.
 void setServiceTime(Double value)
          Sets the value of the serviceTime property.
 void setSuccessors(Instance.Requests.Request.Successors value)
          Sets the value of the successors property.
 void setTdQuantity(TimeDependentParameterType value)
          Sets the value of the tdQuantity property.
 void setTdServiceTime(TimeDependentParameterType value)
          Sets the value of the tdServiceTime property.
 void setType(BigInteger value)
          Sets the value of the type property.
 void setUncertainQuantity(UncertainParameterType value)
          Sets the value of the uncertainQuantity property.
 void setUncertainServiceTime(UncertainParameterType value)
          Sets the value of the uncertainServiceTime property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tw

protected List<Tw> tw

quantity

protected Double quantity

tdQuantity

protected TimeDependentParameterType tdQuantity

uncertainQuantity

protected UncertainParameterType uncertainQuantity

demand

protected List<Demand> demand

prize

protected Double prize

release

protected Double release

serviceTime

protected Double serviceTime

tdServiceTime

protected TimeDependentParameterType tdServiceTime

uncertainServiceTime

protected UncertainParameterType uncertainServiceTime

predecessors

protected Instance.Requests.Request.Predecessors predecessors

successors

protected Instance.Requests.Request.Successors successors

skill

protected List<Integer> skill

resource

protected List<Instance.Requests.Request.Resource> resource

id

protected BigInteger id

type

protected BigInteger type

node

protected BigInteger node

link

protected BigInteger link
Constructor Detail

Instance.Requests.Request

public Instance.Requests.Request()
Method Detail

getTw

public List<Tw> getTw()
Model request time windows (e.g., VRPTW) Gets the value of the tw 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 tw property.

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

    getTw().add(newItem);
 

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


getQuantity

public Double getQuantity()
Gets the value of the quantity property.

Returns:
possible object is Double

setQuantity

public void setQuantity(Double value)
Sets the value of the quantity property.

Parameters:
value - allowed object is Double

getTdQuantity

public TimeDependentParameterType getTdQuantity()
Gets the value of the tdQuantity property.

Returns:
possible object is TimeDependentParameterType

setTdQuantity

public void setTdQuantity(TimeDependentParameterType value)
Sets the value of the tdQuantity property.

Parameters:
value - allowed object is TimeDependentParameterType

getUncertainQuantity

public UncertainParameterType getUncertainQuantity()
Gets the value of the uncertainQuantity property.

Returns:
possible object is UncertainParameterType

setUncertainQuantity

public void setUncertainQuantity(UncertainParameterType value)
Sets the value of the uncertainQuantity property.

Parameters:
value - allowed object is UncertainParameterType

getDemand

public List<Demand> getDemand()
Model a customer demands (e.g., CVRP) Gets the value of the demand 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 demand property.

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

    getDemand().add(newItem);
 

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


getPrize

public Double getPrize()
Gets the value of the prize property.

Returns:
possible object is Double

setPrize

public void setPrize(Double value)
Sets the value of the prize property.

Parameters:
value - allowed object is Double

getRelease

public Double getRelease()
Gets the value of the release property.

Returns:
possible object is Double

setRelease

public void setRelease(Double value)
Sets the value of the release property.

Parameters:
value - allowed object is Double

getServiceTime

public Double getServiceTime()
Gets the value of the serviceTime property.

Returns:
possible object is Double

setServiceTime

public void setServiceTime(Double value)
Sets the value of the serviceTime property.

Parameters:
value - allowed object is Double

getTdServiceTime

public TimeDependentParameterType getTdServiceTime()
Gets the value of the tdServiceTime property.

Returns:
possible object is TimeDependentParameterType

setTdServiceTime

public void setTdServiceTime(TimeDependentParameterType value)
Sets the value of the tdServiceTime property.

Parameters:
value - allowed object is TimeDependentParameterType

getUncertainServiceTime

public UncertainParameterType getUncertainServiceTime()
Gets the value of the uncertainServiceTime property.

Returns:
possible object is UncertainParameterType

setUncertainServiceTime

public void setUncertainServiceTime(UncertainParameterType value)
Sets the value of the uncertainServiceTime property.

Parameters:
value - allowed object is UncertainParameterType

getPredecessors

public Instance.Requests.Request.Predecessors getPredecessors()
Gets the value of the predecessors property.

Returns:
possible object is Instance.Requests.Request.Predecessors

setPredecessors

public void setPredecessors(Instance.Requests.Request.Predecessors value)
Sets the value of the predecessors property.

Parameters:
value - allowed object is Instance.Requests.Request.Predecessors

getSuccessors

public Instance.Requests.Request.Successors getSuccessors()
Gets the value of the successors property.

Returns:
possible object is Instance.Requests.Request.Successors

setSuccessors

public void setSuccessors(Instance.Requests.Request.Successors value)
Sets the value of the successors property.

Parameters:
value - allowed object is Instance.Requests.Request.Successors

getSkill

public List<Integer> 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 Integer


getResource

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

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

    getResource().add(newItem);
 

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


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

getType

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

Returns:
possible object is BigInteger

setType

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

Parameters:
value - allowed object is BigInteger

getNode

public BigInteger getNode()
Gets the value of the node property.

Returns:
possible object is BigInteger

setNode

public void setNode(BigInteger value)
Sets the value of the node property.

Parameters:
value - allowed object is BigInteger

getLink

public BigInteger getLink()
Gets the value of the link property.

Returns:
possible object is BigInteger

setLink

public void setLink(BigInteger value)
Sets the value of the link property.

Parameters:
value - allowed object is BigInteger


Copyright © 2014 VRP-REP. All rights reserved.