org.vrprep.model.instance
Class Instance.Fleet.VehicleProfile

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

public static class Instance.Fleet.VehicleProfile
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="departure_from_any_node">
             <complexType>
               <complexContent>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 </restriction>
               </complexContent>
             </complexType>
           </element>
           <element name="departure_node" type="{http://www.w3.org/2001/XMLSchema}integer" maxOccurs="unbounded"/>
         </choice>
         <choice>
           <element name="arrival_at_any_node">
             <complexType>
               <complexContent>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 </restriction>
               </complexContent>
             </complexType>
           </element>
           <element name="arrival_node" type="{http://www.w3.org/2001/XMLSchema}integer" maxOccurs="unbounded"/>
         </choice>
         <group ref="{}storage"/>
         <element name="max_travel_time" type="{}positive_double" minOccurs="0"/>
         <element name="max_travel_distance" type="{}positive_double" minOccurs="0"/>
         <element name="speed_factor" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <sequence>
           <element name="fix_cost" type="{}positive_double" minOccurs="0"/>
           <element name="cost_x_distance" type="{}positive_double" minOccurs="0"/>
           <element name="cost_x_time" type="{}positive_double" minOccurs="0"/>
         </sequence>
         <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>
         <element name="trailers" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <simpleContent>
               <extension base="<http://www.w3.org/2001/XMLSchema>positiveInteger">
                 <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
               </extension>
             </simpleContent>
           </complexType>
         </element>
       </sequence>
       <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
       <attribute name="number" type="{http://www.w3.org/2001/XMLSchema}int" />
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class Instance.Fleet.VehicleProfile.ArrivalAtAnyNode
          Java class for anonymous complex type.
static class Instance.Fleet.VehicleProfile.DepartureFromAnyNode
          Java class for anonymous complex type.
static class Instance.Fleet.VehicleProfile.Resource
          Java class for anonymous complex type.
static class Instance.Fleet.VehicleProfile.Trailers
          Java class for anonymous complex type.
 
Field Summary
protected  Instance.Fleet.VehicleProfile.ArrivalAtAnyNode arrivalAtAnyNode
           
protected  List<BigInteger> arrivalNode
           
protected  Double capacity
           
protected  List<Compartment> compartment
           
protected  Double costXDistance
           
protected  Double costXTime
           
protected  Instance.Fleet.VehicleProfile.DepartureFromAnyNode departureFromAnyNode
           
protected  List<BigInteger> departureNode
           
protected  DimensionsType dimensions
           
protected  Double fixCost
           
protected  Double maxTravelDistance
           
protected  Double maxTravelTime
           
protected  Double maxVolume
           
protected  Double maxWeight
           
protected  Integer number
           
protected  List<Instance.Fleet.VehicleProfile.Resource> resource
           
protected  Double speedFactor
           
protected  List<Instance.Fleet.VehicleProfile.Trailers> trailers
           
protected  BigInteger type
           
 
Constructor Summary
Instance.Fleet.VehicleProfile()
           
 
Method Summary
 Instance.Fleet.VehicleProfile.ArrivalAtAnyNode getArrivalAtAnyNode()
          Gets the value of the arrivalAtAnyNode property.
 List<BigInteger> getArrivalNode()
          Gets the value of the arrivalNode property.
 Double getCapacity()
          Gets the value of the capacity property.
 List<Compartment> getCompartment()
          Defines a compartment.
 Double getCostXDistance()
          Gets the value of the costXDistance property.
 Double getCostXTime()
          Gets the value of the costXTime property.
 Instance.Fleet.VehicleProfile.DepartureFromAnyNode getDepartureFromAnyNode()
          Gets the value of the departureFromAnyNode property.
 List<BigInteger> getDepartureNode()
          Gets the value of the departureNode property.
 DimensionsType getDimensions()
          Defines the dimensions of the storage unit
 Double getFixCost()
          Gets the value of the fixCost property.
 Double getMaxTravelDistance()
          Gets the value of the maxTravelDistance property.
 Double getMaxTravelTime()
          Gets the value of the maxTravelTime property.
 Double getMaxVolume()
          Gets the value of the maxVolume property.
 Double getMaxWeight()
          Gets the value of the maxWeight property.
 Integer getNumber()
          Gets the value of the number property.
 List<Instance.Fleet.VehicleProfile.Resource> getResource()
          Gets the value of the resource property.
 Double getSpeedFactor()
          Gets the value of the speedFactor property.
 List<Instance.Fleet.VehicleProfile.Trailers> getTrailers()
          Gets the value of the trailers property.
 BigInteger getType()
          Gets the value of the type property.
 void setArrivalAtAnyNode(Instance.Fleet.VehicleProfile.ArrivalAtAnyNode value)
          Sets the value of the arrivalAtAnyNode property.
 void setCapacity(Double value)
          Sets the value of the capacity property.
 void setCostXDistance(Double value)
          Sets the value of the costXDistance property.
 void setCostXTime(Double value)
          Sets the value of the costXTime property.
 void setDepartureFromAnyNode(Instance.Fleet.VehicleProfile.DepartureFromAnyNode value)
          Sets the value of the departureFromAnyNode property.
 void setDimensions(DimensionsType value)
          Sets the value of the dimensions property.
 void setFixCost(Double value)
          Sets the value of the fixCost property.
 void setMaxTravelDistance(Double value)
          Sets the value of the maxTravelDistance property.
 void setMaxTravelTime(Double value)
          Sets the value of the maxTravelTime property.
 void setMaxVolume(Double value)
          Sets the value of the maxVolume property.
 void setMaxWeight(Double value)
          Sets the value of the maxWeight property.
 void setNumber(Integer value)
          Sets the value of the number property.
 void setSpeedFactor(Double value)
          Sets the value of the speedFactor property.
 void setType(BigInteger value)
          Sets the value of the type property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

departureFromAnyNode

protected Instance.Fleet.VehicleProfile.DepartureFromAnyNode departureFromAnyNode

departureNode

protected List<BigInteger> departureNode

arrivalAtAnyNode

protected Instance.Fleet.VehicleProfile.ArrivalAtAnyNode arrivalAtAnyNode

arrivalNode

protected List<BigInteger> arrivalNode

capacity

protected Double capacity

maxWeight

protected Double maxWeight

maxVolume

protected Double maxVolume

dimensions

protected DimensionsType dimensions

compartment

protected List<Compartment> compartment

maxTravelTime

protected Double maxTravelTime

maxTravelDistance

protected Double maxTravelDistance

speedFactor

protected Double speedFactor

fixCost

protected Double fixCost

costXDistance

protected Double costXDistance

costXTime

protected Double costXTime

resource

protected List<Instance.Fleet.VehicleProfile.Resource> resource

trailers

protected List<Instance.Fleet.VehicleProfile.Trailers> trailers

type

protected BigInteger type

number

protected Integer number
Constructor Detail

Instance.Fleet.VehicleProfile

public Instance.Fleet.VehicleProfile()
Method Detail

getDepartureFromAnyNode

public Instance.Fleet.VehicleProfile.DepartureFromAnyNode getDepartureFromAnyNode()
Gets the value of the departureFromAnyNode property.

Returns:
possible object is Instance.Fleet.VehicleProfile.DepartureFromAnyNode

setDepartureFromAnyNode

public void setDepartureFromAnyNode(Instance.Fleet.VehicleProfile.DepartureFromAnyNode value)
Sets the value of the departureFromAnyNode property.

Parameters:
value - allowed object is Instance.Fleet.VehicleProfile.DepartureFromAnyNode

getDepartureNode

public List<BigInteger> getDepartureNode()
Gets the value of the departureNode 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 departureNode property.

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

    getDepartureNode().add(newItem);
 

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


getArrivalAtAnyNode

public Instance.Fleet.VehicleProfile.ArrivalAtAnyNode getArrivalAtAnyNode()
Gets the value of the arrivalAtAnyNode property.

Returns:
possible object is Instance.Fleet.VehicleProfile.ArrivalAtAnyNode

setArrivalAtAnyNode

public void setArrivalAtAnyNode(Instance.Fleet.VehicleProfile.ArrivalAtAnyNode value)
Sets the value of the arrivalAtAnyNode property.

Parameters:
value - allowed object is Instance.Fleet.VehicleProfile.ArrivalAtAnyNode

getArrivalNode

public List<BigInteger> getArrivalNode()
Gets the value of the arrivalNode 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 arrivalNode property.

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

    getArrivalNode().add(newItem);
 

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


getCapacity

public Double getCapacity()
Gets the value of the capacity property.

Returns:
possible object is Double

setCapacity

public void setCapacity(Double value)
Sets the value of the capacity property.

Parameters:
value - allowed object is Double

getMaxWeight

public Double getMaxWeight()
Gets the value of the maxWeight property.

Returns:
possible object is Double

setMaxWeight

public void setMaxWeight(Double value)
Sets the value of the maxWeight property.

Parameters:
value - allowed object is Double

getMaxVolume

public Double getMaxVolume()
Gets the value of the maxVolume property.

Returns:
possible object is Double

setMaxVolume

public void setMaxVolume(Double value)
Sets the value of the maxVolume property.

Parameters:
value - allowed object is Double

getDimensions

public DimensionsType getDimensions()
Defines the dimensions of the storage unit

Returns:
possible object is DimensionsType

setDimensions

public void setDimensions(DimensionsType value)
Sets the value of the dimensions property.

Parameters:
value - allowed object is DimensionsType

getCompartment

public List<Compartment> getCompartment()
Defines a compartment. Use this element to model multicompartment VRPs Gets the value of the compartment 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 compartment property.

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

    getCompartment().add(newItem);
 

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


getMaxTravelTime

public Double getMaxTravelTime()
Gets the value of the maxTravelTime property.

Returns:
possible object is Double

setMaxTravelTime

public void setMaxTravelTime(Double value)
Sets the value of the maxTravelTime property.

Parameters:
value - allowed object is Double

getMaxTravelDistance

public Double getMaxTravelDistance()
Gets the value of the maxTravelDistance property.

Returns:
possible object is Double

setMaxTravelDistance

public void setMaxTravelDistance(Double value)
Sets the value of the maxTravelDistance property.

Parameters:
value - allowed object is Double

getSpeedFactor

public Double getSpeedFactor()
Gets the value of the speedFactor property.

Returns:
possible object is Double

setSpeedFactor

public void setSpeedFactor(Double value)
Sets the value of the speedFactor property.

Parameters:
value - allowed object is Double

getFixCost

public Double getFixCost()
Gets the value of the fixCost property.

Returns:
possible object is Double

setFixCost

public void setFixCost(Double value)
Sets the value of the fixCost property.

Parameters:
value - allowed object is Double

getCostXDistance

public Double getCostXDistance()
Gets the value of the costXDistance property.

Returns:
possible object is Double

setCostXDistance

public void setCostXDistance(Double value)
Sets the value of the costXDistance property.

Parameters:
value - allowed object is Double

getCostXTime

public Double getCostXTime()
Gets the value of the costXTime property.

Returns:
possible object is Double

setCostXTime

public void setCostXTime(Double value)
Sets the value of the costXTime property.

Parameters:
value - allowed object is Double

getResource

public List<Instance.Fleet.VehicleProfile.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.Fleet.VehicleProfile.Resource


getTrailers

public List<Instance.Fleet.VehicleProfile.Trailers> getTrailers()
Gets the value of the trailers 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 trailers property.

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

    getTrailers().add(newItem);
 

Objects of the following type(s) are allowed in the list Instance.Fleet.VehicleProfile.Trailers


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

getNumber

public Integer getNumber()
Gets the value of the number property.

Returns:
possible object is Integer

setNumber

public void setNumber(Integer value)
Sets the value of the number property.

Parameters:
value - allowed object is Integer


Copyright © 2014 VRP-REP. All rights reserved.