public class RandomVariableType extends Object
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}positiveInteger" />
</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>
| Modifier and Type | Class and Description |
|---|---|
static class |
RandomVariableType.Moment
Java class for anonymous complex type.
|
static class |
RandomVariableType.Parameter
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
distribution |
protected List<RandomVariableType.Moment> |
moment |
protected List<RandomVariableType.Parameter> |
parameter |
| Constructor and Description |
|---|
RandomVariableType() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected List<RandomVariableType.Moment> moment
protected List<RandomVariableType.Parameter> parameter
protected String distribution
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()
StringCopyright © 2014 VRP-REP. All rights reserved.