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}integer" />
<attribute name="number" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
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 BigInteger |
number |
protected BigInteger |
type |
| Constructor and Description |
|---|
TrailerProfile() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
BigInteger |
getNumber()
Gets the value of the number property.
|
BigInteger |
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(BigInteger value)
Sets the value of the number property.
|
void |
setType(BigInteger value)
Sets the value of the type property.
|
protected Double capacity
protected Double maxWeight
protected Double maxVolume
protected DimensionsType dimensions
protected List<Compartment> compartment
protected Double fixCost
protected Double costXDistance
protected Double costXTime
protected BigInteger type
protected BigInteger number
public Double getCapacity()
Doublepublic void setCapacity(Double value)
value - allowed object is
Doublepublic Double getMaxWeight()
Doublepublic void setMaxWeight(Double value)
value - allowed object is
Doublepublic Double getMaxVolume()
Doublepublic void setMaxVolume(Double value)
value - allowed object is
Doublepublic DimensionsType getDimensions()
DimensionsTypepublic void setDimensions(DimensionsType value)
value - allowed object is
DimensionsTypepublic List<Compartment> getCompartment()
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
public Double getFixCost()
Doublepublic void setFixCost(Double value)
value - allowed object is
Doublepublic Double getCostXDistance()
Doublepublic void setCostXDistance(Double value)
value - allowed object is
Doublepublic Double getCostXTime()
Doublepublic void setCostXTime(Double value)
value - allowed object is
Doublepublic BigInteger getType()
BigIntegerpublic void setType(BigInteger value)
value - allowed object is
BigIntegerpublic BigInteger getNumber()
BigIntegerpublic void setNumber(BigInteger value)
value - allowed object is
BigIntegerCopyright © 2014 VRP-REP. All rights reserved.