|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.vrprep.model.instance.RandomVariableType
public class RandomVariableType
Defines a random variable
Java class for random_variable_type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="random_variable_type">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<element name="moment" maxOccurs="unbounded">
<complexType>
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>double">
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="number" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
</extension>
</simpleContent>
</complexType>
</element>
<element name="parameter" maxOccurs="unbounded">
<complexType>
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>double">
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</extension>
</simpleContent>
</complexType>
</element>
</choice>
<attribute name="distribution" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Nested Class Summary | |
|---|---|
static class |
RandomVariableType.Moment
Java class for anonymous complex type. |
static class |
RandomVariableType.Parameter
Java class for anonymous complex type. |
| Field Summary | |
|---|---|
protected String |
distribution
|
protected List<RandomVariableType.Moment> |
moment
|
protected List<RandomVariableType.Parameter> |
parameter
|
| Constructor Summary | |
|---|---|
RandomVariableType()
|
|
| Method Summary | |
|---|---|
String |
getDistribution()
Gets the value of the distribution property. |
List<RandomVariableType.Moment> |
getMoment()
Gets the value of the moment property. |
List<RandomVariableType.Parameter> |
getParameter()
Gets the value of the parameter property. |
void |
setDistribution(String value)
Sets the value of the distribution property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<RandomVariableType.Moment> moment
protected List<RandomVariableType.Parameter> parameter
protected String distribution
| Constructor Detail |
|---|
public RandomVariableType()
| Method Detail |
|---|
public List<RandomVariableType.Moment> getMoment()
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 moment property.
For example, to add a new item, do as follows:
getMoment().add(newItem);
Objects of the following type(s) are allowed in the list
RandomVariableType.Moment
public List<RandomVariableType.Parameter> getParameter()
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 parameter property.
For example, to add a new item, do as follows:
getParameter().add(newItem);
Objects of the following type(s) are allowed in the list
RandomVariableType.Parameter
public String getDistribution()
Stringpublic void setDistribution(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||