java.lang.Object | |||
↳ | org.mule.modules.oracle.model.AbstractDataObject | ||
↳ | com.oracle.xmlns.svc.DataObject | ||
↳ | com.oracle.xmlns.svc.MethodRequestListParameter |
* This DataObject is used to wrap a method parameter of type List, so that it * can be used in MethodRequest. *
* Example:
*
*
* @see MethodRequest
*
* 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);
*
*
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>
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
value |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the value of the value property.
| |||||||||||
Sets the value of the value property.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.mule.modules.oracle.model.AbstractDataObject
| |||||||||||
From class
java.lang.Object
|
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
Sets the value of the value property.
value | Allowed object is Object |
---|