public class

ChildExpression

extends Expression
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

Class Overview

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>
 

Summary

Fields
protected String attributeName
protected DataObject filter
Public Constructors
ChildExpression()
Public Methods
String getAttributeName()
Gets the value of the attributeName property.
DataObject getFilter()
Gets the value of the filter property.
void setAttributeName(String value)
Sets the value of the attributeName property.
void setFilter(DataObject value)
Sets the value of the filter property.
[Expand]
Inherited Methods
From class org.mule.modules.oracle.model.AbstractDataObject
From class java.lang.Object

Fields

protected String attributeName

protected DataObject filter

Public Constructors

public ChildExpression ()

Public Methods

public String getAttributeName ()

Gets the value of the attributeName property.

Returns
  • possible object is String

public DataObject getFilter ()

Gets the value of the filter property.

Returns

public void setAttributeName (String value)

Sets the value of the attributeName property.

Parameters
value Allowed object is String

public void setFilter (DataObject value)

Sets the value of the filter property.

Parameters
value Allowed object is DataObject