org.vrprep.model.instance
Class RandomVariableType

java.lang.Object
  extended by org.vrprep.model.instance.RandomVariableType

public class RandomVariableType
extends Object

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

moment

protected List<RandomVariableType.Moment> moment

parameter

protected List<RandomVariableType.Parameter> parameter

distribution

protected String distribution
Constructor Detail

RandomVariableType

public RandomVariableType()
Method Detail

getMoment

public List<RandomVariableType.Moment> getMoment()
Gets the value of the moment property.

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


getParameter

public List<RandomVariableType.Parameter> getParameter()
Gets the value of the parameter property.

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


getDistribution

public String getDistribution()
Gets the value of the distribution property.

Returns:
possible object is String

setDistribution

public void setDistribution(String value)
Sets the value of the distribution property.

Parameters:
value - allowed object is String


Copyright © 2014 VRP-REP. All rights reserved.