public class

MethodRequestListParameter

extends DataObject
java.lang.Object
   ↳ org.mule.modules.oracle.model.AbstractDataObject
     ↳ com.oracle.xmlns.svc.DataObject
       ↳ com.oracle.xmlns.svc.MethodRequestListParameter

Class Overview

* This DataObject is used to wrap a method parameter of type List, so that it * can be used in MethodRequest. *

* Example: * *

  * 
  *      BatchRequest breq = (BatchRequest)doFactory.createDataObject(BatchRequest.QUALIFIED_NAME);
  *
  *      //approvePurchaseOrders takes a single parameter, which is a List of po numbers
  *      List poNumbers = new ArrayList();
  *      poNumbers.add(new Number(2));
  *      poNumbers.add(new Number(3));
  *  
  *      //wrap the List with MethodRequestListParameter in order to be used in MethodRequest
  *      MethodRequestListParameter methodParam = (MethodRequestListParameter)doFactory.createDataObject(MethodRequestListParameter.QUALIFIED_NAME);
  *      methodParam.setValue(poNumbers);
  *  
  *      List methodParams = new ArrayList();
  *      //since approvePurchaseOrders takes a single parameter, methodParams list has one single item
  *      methodParams.add(methodParam);
  *  
  *      breq.addMethodRequest("test method request", "approvePurchaseOrders",methodParams); 
  * 
* * @see MethodRequest

Java class for MethodRequestListParameter complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="MethodRequestListParameter">
   <complexContent>
     <extension base="{http://xmlns.oracle.com/svc}DataObject">
       <sequence>
         <element name="Value" type="{http://www.w3.org/2001/XMLSchema}anyType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 

Summary

Fields
protected List<Object> value
Public Constructors
MethodRequestListParameter()
Public Methods
List<Object> getValue()
Gets the value of the value property.
void setValue(List<Object> value)
Sets the value of the value property.
[Expand]
Inherited Methods
From class org.mule.modules.oracle.model.AbstractDataObject
From class java.lang.Object

Fields

protected List<Object> value

Public Constructors

public MethodRequestListParameter ()

Public Methods

public List<Object> getValue ()

Gets the value of the value 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 value property.

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

    getValue().add(newItem);
 

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

public void setValue (List<Object> value)

Sets the value of the value property.

Parameters
value Allowed object is Object