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

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

public static class Instance.Fleet.TrailerProfile
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>
         <group ref="{}storage"/>
         <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>
       </sequence>
       <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
       <attribute name="number" type="{http://www.w3.org/2001/XMLSchema}int" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  Double capacity
           
protected  List<Compartment> compartment
           
protected  Double costXDistance
           
protected  Double costXTime
           
protected  DimensionsType dimensions
           
protected  Double fixCost
           
protected  Double maxVolume
           
protected  Double maxWeight
           
protected  Integer number
           
protected  int type
           
 
Constructor Summary
Instance.Fleet.TrailerProfile()
           
 
Method Summary
 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.
 DimensionsType getDimensions()
          Defines the dimensions of the storage unit
 Double getFixCost()
          Gets the value of the fixCost 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.
 int getType()
          Gets the value of the type 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 setDimensions(DimensionsType value)
          Sets the value of the dimensions property.
 void setFixCost(Double value)
          Sets the value of the fixCost 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 setType(int 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

capacity

protected Double capacity

maxWeight

protected Double maxWeight

maxVolume

protected Double maxVolume

dimensions

protected DimensionsType dimensions

compartment

protected List<Compartment> compartment

fixCost

protected Double fixCost

costXDistance

protected Double costXDistance

costXTime

protected Double costXTime

type

protected int type

number

protected Integer number
Constructor Detail

Instance.Fleet.TrailerProfile

public Instance.Fleet.TrailerProfile()
Method Detail

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


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

getType

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


setType

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


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.