public class

AttributeExpression

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.AttributeExpression

Class Overview

Represents an expression based on comparing two attributes.
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);
 

Java class for AttributeExpression complex type.

The following schema fragment specifies the expected content contained within this class.

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

Summary

Fields
protected String attribute1Name
protected String attribute2Name
protected String operator
Public Constructors
AttributeExpression()
Public Methods
String getAttribute1Name()
Gets the value of the attribute1Name property.
String getAttribute2Name()
Gets the value of the attribute2Name property.
String getOperator()
Gets the value of the operator property.
void setAttribute1Name(String value)
Sets the value of the attribute1Name property.
void setAttribute2Name(String value)
Sets the value of the attribute2Name property.
void setOperator(String value)
Sets the value of the operator property.
[Expand]
Inherited Methods
From class org.mule.modules.oracle.model.AbstractDataObject
From class java.lang.Object

Fields

protected String attribute1Name

protected String attribute2Name

protected String operator

Public Constructors

public AttributeExpression ()

Public Methods

public String getAttribute1Name ()

Gets the value of the attribute1Name property.

Returns
  • possible object is String

public String getAttribute2Name ()

Gets the value of the attribute2Name property.

Returns
  • possible object is String

public String getOperator ()

Gets the value of the operator property.

Returns
  • possible object is String

public void setAttribute1Name (String value)

Sets the value of the attribute1Name property.

Parameters
value Allowed object is String

public void setAttribute2Name (String value)

Sets the value of the attribute2Name property.

Parameters
value Allowed object is String

public void setOperator (String value)

Sets the value of the operator property.

Parameters
value Allowed object is String