org.vrprep.model.instance
Class Compartment

java.lang.Object
  extended by org.vrprep.model.instance.Compartment

public class Compartment
extends Object

Variable capacity (e.g. MC-VRP)

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>
           <sequence>
             <element name="min_capacity" type="{}positive_double"/>
             <element name="max_capacity" type="{}positive_double"/>
           </sequence>
           <element name="fix_capacity" type="{}positive_double"/>
         </choice>
         <element name="compatible_request_type" type="{http://www.w3.org/2001/XMLSchema}int" maxOccurs="unbounded" minOccurs="0"/>
         <choice minOccurs="0">
           <sequence>
             <element name="min_dimensions" type="{}dimensions_type"/>
             <element name="max_dimensions" type="{}dimensions_type"/>
           </sequence>
           <element ref="{}dimensions"/>
         </choice>
       </sequence>
       <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Integer> compatibleRequestType
           
protected  DimensionsType dimensions
           
protected  Double fixCapacity
           
protected  Double maxCapacity
           
protected  DimensionsType maxDimensions
           
protected  Double minCapacity
           
protected  DimensionsType minDimensions
           
protected  BigInteger type
           
 
Constructor Summary
Compartment()
           
 
Method Summary
 List<Integer> getCompatibleRequestType()
          Gets the value of the compatibleRequestType property.
 DimensionsType getDimensions()
          Fix compartment dimensions
 Double getFixCapacity()
          Gets the value of the fixCapacity property.
 Double getMaxCapacity()
          Gets the value of the maxCapacity property.
 DimensionsType getMaxDimensions()
          Gets the value of the maxDimensions property.
 Double getMinCapacity()
          Gets the value of the minCapacity property.
 DimensionsType getMinDimensions()
          Gets the value of the minDimensions property.
 BigInteger getType()
          Gets the value of the type property.
 void setDimensions(DimensionsType value)
          Sets the value of the dimensions property.
 void setFixCapacity(Double value)
          Sets the value of the fixCapacity property.
 void setMaxCapacity(Double value)
          Sets the value of the maxCapacity property.
 void setMaxDimensions(DimensionsType value)
          Sets the value of the maxDimensions property.
 void setMinCapacity(Double value)
          Sets the value of the minCapacity property.
 void setMinDimensions(DimensionsType value)
          Sets the value of the minDimensions 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

minCapacity

protected Double minCapacity

maxCapacity

protected Double maxCapacity

fixCapacity

protected Double fixCapacity

compatibleRequestType

protected List<Integer> compatibleRequestType

minDimensions

protected DimensionsType minDimensions

maxDimensions

protected DimensionsType maxDimensions

dimensions

protected DimensionsType dimensions

type

protected BigInteger type
Constructor Detail

Compartment

public Compartment()
Method Detail

getMinCapacity

public Double getMinCapacity()
Gets the value of the minCapacity property.

Returns:
possible object is Double

setMinCapacity

public void setMinCapacity(Double value)
Sets the value of the minCapacity property.

Parameters:
value - allowed object is Double

getMaxCapacity

public Double getMaxCapacity()
Gets the value of the maxCapacity property.

Returns:
possible object is Double

setMaxCapacity

public void setMaxCapacity(Double value)
Sets the value of the maxCapacity property.

Parameters:
value - allowed object is Double

getFixCapacity

public Double getFixCapacity()
Gets the value of the fixCapacity property.

Returns:
possible object is Double

setFixCapacity

public void setFixCapacity(Double value)
Sets the value of the fixCapacity property.

Parameters:
value - allowed object is Double

getCompatibleRequestType

public List<Integer> getCompatibleRequestType()
Gets the value of the compatibleRequestType 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 compatibleRequestType property.

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

    getCompatibleRequestType().add(newItem);
 

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


getMinDimensions

public DimensionsType getMinDimensions()
Gets the value of the minDimensions property.

Returns:
possible object is DimensionsType

setMinDimensions

public void setMinDimensions(DimensionsType value)
Sets the value of the minDimensions property.

Parameters:
value - allowed object is DimensionsType

getMaxDimensions

public DimensionsType getMaxDimensions()
Gets the value of the maxDimensions property.

Returns:
possible object is DimensionsType

setMaxDimensions

public void setMaxDimensions(DimensionsType value)
Sets the value of the maxDimensions property.

Parameters:
value - allowed object is DimensionsType

getDimensions

public DimensionsType getDimensions()
Fix compartment dimensions

Returns:
possible object is DimensionsType

setDimensions

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

Parameters:
value - allowed object is DimensionsType

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


Copyright © 2014 VRP-REP. All rights reserved.