|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.vrprep.model.instance.UncertainParameterType
public class UncertainParameterType
Defines a parameter which value is uncertain (e.g., stochastic travel time or stochastic demand)
Java class for uncertain_parameter_type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="uncertain_parameter_type">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<element ref="{}random_variable"/>
<element name="scenario" maxOccurs="unbounded" minOccurs="2">
<complexType>
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>double">
<attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
<attribute name="probability" use="required" type="{}probability" />
</extension>
</simpleContent>
</complexType>
</element>
</choice>
</restriction>
</complexContent>
</complexType>
| Nested Class Summary | |
|---|---|
static class |
UncertainParameterType.Scenario
Java class for anonymous complex type. |
| Field Summary | |
|---|---|
protected RandomVariableType |
randomVariable
|
protected List<UncertainParameterType.Scenario> |
scenario
|
| Constructor Summary | |
|---|---|
UncertainParameterType()
|
|
| Method Summary | |
|---|---|
RandomVariableType |
getRandomVariable()
Gets the value of the randomVariable property. |
List<UncertainParameterType.Scenario> |
getScenario()
Gets the value of the scenario property. |
void |
setRandomVariable(RandomVariableType value)
Sets the value of the randomVariable property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected RandomVariableType randomVariable
protected List<UncertainParameterType.Scenario> scenario
| Constructor Detail |
|---|
public UncertainParameterType()
| Method Detail |
|---|
public RandomVariableType getRandomVariable()
RandomVariableTypepublic void setRandomVariable(RandomVariableType value)
value - allowed object is
RandomVariableTypepublic List<UncertainParameterType.Scenario> getScenario()
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 scenario property.
For example, to add a new item, do as follows:
getScenario().add(newItem);
Objects of the following type(s) are allowed in the list
UncertainParameterType.Scenario
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||