|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.vrprep.model.instance.Instance.Fleet.TrailerProfile
public static class Instance.Fleet.TrailerProfile
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 |
|---|
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 int type
protected Integer number
| Constructor Detail |
|---|
public Instance.Fleet.TrailerProfile()
| Method Detail |
|---|
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 int getType()
public void setType(int value)
public Integer getNumber()
Integerpublic void setNumber(Integer value)
value - allowed object is
Integer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||