cometa.translator.method
Class Method.Parameters.Observation

java.lang.Object
  extended by cometa.translator.method.Method.Parameters.Observation
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
Method.Parameters

public static class Method.Parameters.Observation
extends java.lang.Object
implements java.io.Serializable

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">
       <choice>
         <element name="simpleParam" type="{}simpleParam" maxOccurs="unbounded" minOccurs="0"/>
         <element name="compoundParam" type="{}compoundParam" maxOccurs="unbounded" minOccurs="0"/>
       </choice>
       <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.util.List<CompoundParam> compoundParam
           
protected  java.util.List<SimpleParam> simpleParam
           
protected  java.lang.String type
           
 
Constructor Summary
Method.Parameters.Observation()
           
 
Method Summary
 java.util.List<CompoundParam> getCompoundParam()
          Gets the value of the compoundParam property.
 Product getObservationType()
           
 java.util.List<Param> getParam()
           
 java.lang.String getParamValue(java.lang.String paramName)
           
 java.util.ArrayList<Product> getProducts()
           
 java.util.List<SimpleParam> getSimpleParam()
          Gets the value of the simpleParam property.
 java.lang.String getType()
          Gets the value of the type property.
 java.util.ArrayList<java.lang.String> getTypes()
          This method returns an ArrayList of Strings that are the IDs of the supported product types for the current observation.
 void setObservationType(Product observationType)
           
 void setType(java.lang.String 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

simpleParam

protected java.util.List<SimpleParam> simpleParam

compoundParam

protected java.util.List<CompoundParam> compoundParam

type

protected java.lang.String type
Constructor Detail

Method.Parameters.Observation

public Method.Parameters.Observation()
Method Detail

getObservationType

public Product getObservationType()

setObservationType

public void setObservationType(Product observationType)

getParam

public java.util.List<Param> getParam()

getParamValue

public java.lang.String getParamValue(java.lang.String paramName)

getSimpleParam

public java.util.List<SimpleParam> getSimpleParam()
Gets the value of the simpleParam 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 simpleParam property.

For example, to add a new item, do as follows:

    getSimpleParam().add(newItem);
 

Objects of the following type(s) are allowed in the list SimpleParam


getCompoundParam

public java.util.List<CompoundParam> getCompoundParam()
Gets the value of the compoundParam 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 compoundParam property.

For example, to add a new item, do as follows:

    getCompoundParam().add(newItem);
 

Objects of the following type(s) are allowed in the list CompoundParam


getType

public java.lang.String getType()
Gets the value of the type property.

Returns:
possible object is String

setType

public void setType(java.lang.String value)
Sets the value of the type property.

Parameters:
value - allowed object is String

getProducts

public java.util.ArrayList<Product> getProducts()

getTypes

public java.util.ArrayList<java.lang.String> getTypes()
This method returns an ArrayList of Strings that are the IDs of the supported product types for the current observation.