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.AttributeExpression |
Represents an expression based on comparing two attributes.
Java class for AttributeExpression complex type.
The following schema fragment specifies the expected content contained within this class.
The Expression is in the format:
Example: This example performs this expression on PurchaseOrders: StartDate > EndDate
DataObjectFactory factory = ...
PurchaseOrderExpressionFilter filter = (PurchaseOrderExpressionFilter)factory.createDataObject(PurchaseOrderExpressionFilter.QUALIFIED_NAME);
filter.addAttributeExpressionExpression("StartDate", ValueExpression.GREATER_THAN, "EndDate");
DataCriteria dc = factory.createDataObject(DataCriteria.QUALIFIED_NAME);
dc.setFilter(filter);
List result = service.getDataList("PurchaseOrders", dc, null);
<complexType name="AttributeExpression">
<complexContent>
<extension base="{http://xmlns.oracle.com/svc/expression}Expression">
<sequence>
<element name="Attribute1Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="Attribute2Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="Operator" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
attribute1Name | |||||||||||
attribute2Name | |||||||||||
operator |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the value of the attribute1Name property.
| |||||||||||
Gets the value of the attribute2Name property.
| |||||||||||
Gets the value of the operator property.
| |||||||||||
Sets the value of the attribute1Name property.
| |||||||||||
Sets the value of the attribute2Name property.
| |||||||||||
Sets the value of the operator property.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.mule.modules.oracle.model.AbstractDataObject
| |||||||||||
From class
java.lang.Object
|
Gets the value of the attribute1Name property.
Gets the value of the attribute2Name property.
Gets the value of the operator property.
Sets the value of the attribute1Name property.
value | Allowed object is String |
---|
Sets the value of the attribute2Name property.
value | Allowed object is String |
---|
Sets the value of the operator property.
value | Allowed object is String |
---|