java.lang.Object | ||||
↳ | org.mule.modules.oracle.model.AbstractDataObject | |||
↳ | com.oracle.xmlns.svc.DataObject | |||
↳ | com.oracle.xmlns.svc.expression.Expression | |||
↳ | com.oracle.xmlns.svc.expression.ChildExpression |
Represents an expression based on filtering children. This type of
expression can be used to filter a parent by values on its children values.
This filter results in a subquery on the parent's data source.
Example: This example performs this expression on PurchaseOrders: LinePrice = 100
where LinePrice is an attribute on the Line child of PurchaseOrder.
DataObjectFactory factory = ...
PurchaseOrderExpressionFilter poFilter = (PurchaseOrderExpressionFilter)factory.createDataObject(PurchaseOrderExpressionFilter.QUALIFIED_NAME);
LineExpressionFilter LineFilter = (LineExpressionFilter)factory.createDataObject(LineExpressionFilter.QUALIFIED_NAME);
LineFilter.addValueExpression("LinePrice", ValueExpression.EQUAL, new Number(100));
poFilter.addChildExpression("Lines", lineFilter);
DataCriteria dc = factory.createDataObject(DataCriteria.QUALIFIED_NAME);
dc.setFilter(filter);
List result = service.getDataList("PurchaseOrders", dc, null);
Java class for ChildExpression complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ChildExpression"> <complexContent> <extension base="{http://xmlns.oracle.com/svc/expression}Expression"> <sequence> <element name="AttributeName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="Filter" type="{http://xmlns.oracle.com/svc}DataObject" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
attributeName | |||||||||||
filter |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the value of the attributeName property.
| |||||||||||
Gets the value of the filter property.
| |||||||||||
Sets the value of the attributeName property.
| |||||||||||
Sets the value of the filter property.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.mule.modules.oracle.model.AbstractDataObject
| |||||||||||
From class
java.lang.Object
|
Gets the value of the attributeName property.
Gets the value of the filter property.
DataObject
Sets the value of the attributeName property.
value | Allowed object is String |
---|
Sets the value of the filter property.
value | Allowed object is
DataObject
|
---|