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.ValueExpression |
Represents an expression based on comparing an attribute to a value.
The Expression can be in one of these three formats:
Example: This example performs this expression on PurchaseOrders: Total > 500
DataObjectFactory factory = ...
PurchaseOrderExpressionFilter filter = (PurchaseOrderExpressionFilter)factory.createDataObject(PurchaseOrderExpressionFilter.QUALIFIED_NAME);
filter.addValueExpression("Total", ValueExpression.GREATER_THAN, new Number(500));
DataCriteria dc = factory.createDataObject(DataCriteria.QUALIFIED_NAME);
dc.setFilter(filter);
List result = service.getDataList("PurchaseOrders", dc, null);
Java class for ValueExpression complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ValueExpression"> <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="Operator" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="Value" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
attributeName | |||||||||||
operator | |||||||||||
value |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the value of the attributeName property.
| |||||||||||
Gets the value of the operator property.
| |||||||||||
Gets the value of the value property.
| |||||||||||
Sets the value of the attributeName property.
| |||||||||||
Sets the value of the operator 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 attributeName property.
Gets the value of the operator property.
Gets the value of the value property.
Sets the value of the attributeName property.
value | Allowed object is String |
---|
Sets the value of the operator property.
value | Allowed object is String |
---|
Sets the value of the value property.
value | Allowed object is Object |
---|