Project: stp

com.ibm.rational.wvcm.stp.cq
Interface CqQuery.FilterNode

All Superinterfaces:
CqQuery.Filter
Enclosing interface:
CqQuery

public static interface CqQuery.FilterNode
extends CqQuery.Filter

The conjunction or disjunction of subexpressions within a query filter expression. This structure is used to represent a node within the filter expression tree. It represents the logical conjunction (ANDing) or disjunction (ORing) of filter subexpressions.


Nested Class Summary
 
Nested classes/interfaces inherited from interface CqQuery.Filter
CqQuery.Filter.Operation
 
Method Summary
 CqQuery.Filter getOperand()
          Returns the first operand of this FilterNode.
 CqQuery.Filter getOperand(int n)
          Returns the n-th operand of the conjunction or disjunction.
 int getOperandCount()
          Returns the number of operands in this node.
 CqQuery.Filter[] getOperands()
          Returns all operands of the conjunction or disjunction represented by this node.
 void setOperands(CqQuery.Filter... list)
          Sets all operands of the conjunction or disjunction represented by this node.
 
Methods inherited from interface CqQuery.Filter
getOperation, setOperation
 

Method Detail

getOperand

CqQuery.Filter getOperand()
Returns the first operand of this FilterNode.

Returns:
getOperand(0)

getOperand

CqQuery.Filter getOperand(int n)
Returns the n-th operand of the conjunction or disjunction.

Parameters:
n - The 0-based index of the operand desired. Must not exceed the number of operands defined for the Operation of this node.
Returns:
A Filter structure representing the n-th operand of the subexpression. Will never be null.

getOperandCount

int getOperandCount()
Returns the number of operands in this node.

Returns:
The number of operands currently specified in this node.

getOperands

CqQuery.Filter[] getOperands()
Returns all operands of the conjunction or disjunction represented by this node.

Returns:
A vector of FilterNode structures representing the operands of the subexpression. Will never be null.

setOperands

void setOperands(CqQuery.Filter... list)
Sets all operands of the conjunction or disjunction represented by this node.

Parameters:
list - An array of Filter objects representing the operands of this FilterNode.

Generated Thu 2-Oct-2014 10:59 AM

Copyright © IBM 2014. All rights reserved.