| |
|
| java.lang.Object com.opensymphony.workflow.query.Expression com.opensymphony.workflow.query.NestedExpression
NestedExpression | public class NestedExpression extends Expression (Code) | | Nested expressions are used when constructing a workflow query.
A nested expression consists of:
one or more expressions: Each of them can again be a NestedExpression.
operator: The operator used to evaluate the value of the nested expression
from the specified sub expressions.
author: Christine Zimmermann |
Field Summary | |
final public static int | AND Constant to specify that all the expressions specified must evaluate to true for
an item to be included in the search results. | final public static int | OR Constant to specify that at least one of the expressions specified must evaluate to true
for an item to be included in the search results. |
AND | final public static int AND(Code) | | Constant to specify that all the expressions specified must evaluate to true for
an item to be included in the search results.
|
OR | final public static int OR(Code) | | Constant to specify that at least one of the expressions specified must evaluate to true
for an item to be included in the search results.
|
NestedExpression | public NestedExpression()(Code) | | |
NestedExpression | public NestedExpression(Expression[] expressions, int operator)(Code) | | Create a NestedExpression that consists of multiple expressions.
Parameters: expressions - an array of expressions for this query. Parameters: operator - NestedExpression.AND or NestedExpression.OR. |
getExpressionCount | public int getExpressionCount()(Code) | | Get the number of expressions in this query.
|
isNested | public boolean isNested()(Code) | | |
setExpressionOperator | public void setExpressionOperator(int expressionOperator)(Code) | | |
Fields inherited from com.opensymphony.workflow.query.Expression | protected boolean negate(Code)(Java Doc)
|
|
|
|