com.adobe.idp.dsc.filter
Class Condition

java.lang.Object
  extended by com.adobe.idp.dsc.filter.Condition
All Implemented Interfaces:
java.io.Serializable

public class Condition
extends java.lang.Object
implements java.io.Serializable

An object representing the attribute filtering condition of a query.

See Also:
Serialized Form

Constructor Summary
Condition()
           
 
Method Summary
 Connective getConnective()
          Retrieves the Connective object containing the logical AND or OR that was added to the preceding condition.
 com.adobe.idp.dsc.filter.Operator getOperator()
          Retrieves the logical operator for the filter operation.
 java.lang.String getProperty()
          Retrieves the name of the property with which to filter.
 java.lang.Object getValue()
          Retrieves the filter value.
 void setConnective(Connective aConnective)
          Adds a logical AND or OR to the preceding condition.
 void setOperator(com.adobe.idp.dsc.filter.Operator aOperator)
          Sets the logical operator for the filter operation.
 void setProperty(java.lang.String aProperty)
          Sets the property with which to filter.
 void setValue(java.lang.Object aValue)
          Adds the filter value to the condition.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Condition

public Condition()
Method Detail

setProperty

public void setProperty(java.lang.String aProperty)
Sets the property with which to filter.

Parameters:
aProperty - The property name.

getProperty

public java.lang.String getProperty()
Retrieves the name of the property with which to filter.

Returns:
The property name.

setOperator

public void setOperator(com.adobe.idp.dsc.filter.Operator aOperator)
Sets the logical operator for the filter operation.

Parameters:
aOperator - The logical operator.

getOperator

public com.adobe.idp.dsc.filter.Operator getOperator()
Retrieves the logical operator for the filter operation.

Returns:
The logical operator.

setValue

public void setValue(java.lang.Object aValue)
Adds the filter value to the condition.

Parameters:
aValue - An Object containing the value on which to filter.

getValue

public java.lang.Object getValue()
Retrieves the filter value.

Returns:
An Object containing the filter value.

setConnective

public void setConnective(Connective aConnective)
Adds a logical AND or OR to the preceding condition.

Parameters:
aConnective - A Connective object containing a logical AND or OR to be added to the preceding condition.

getConnective

public Connective getConnective()
Retrieves the Connective object containing the logical AND or OR that was added to the preceding condition.

Returns:
The Connective object containing the logical AND or OR that was added to the preceding condition.


[an error occurred while processing this directive] [an error occurred while processing this directive]