Class AndExp
java.lang.Object
org.apache.cayenne.exp.Expression
org.apache.cayenne.exp.AggregateConditionExp
org.apache.cayenne.exp.AndExp
- All Implemented Interfaces:
XMLSerializable
-
Field Summary
Fields inherited from class Expression
operands, PRUNED_NODE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectEvaluates itself with object, pushing result on the stack.protected StringgetExpressionOperator(int index) Returns the operator printed between the operands, before the operand at the given index.voidsetOperands(Object... operands) Replaces all the operands of this node with the given ones.Creates a copy of this expression node, without copying children.Methods inherited from class AggregateConditionExp
exists, isValidParent, notExists, pruneNodeForPrunedChild, setOperand, transformExpressionMethods inherited from class Expression
andExp, andExp, appendAsString, appendOperandAsString, deepCopy, encodeAsXML, equals, evaluate, evaluateOperand, expName, filter, filterObjects, first, flattenTree, getOperand, getOperandCount, getPathAliases, hashCode, match, notExp, orExp, orExp, params, params, paramsArray, parenthesizeAsOperand, toString, transform, traverse, traverse
-
Constructor Details
-
AndExp
-
-
Method Details
-
evaluateNode
Description copied from class:ExpressionEvaluates itself with object, pushing result on the stack.- Specified by:
evaluateNodein classExpression- Throws:
Exception
-
shallowCopy
Creates a copy of this expression node, without copying children.- Specified by:
shallowCopyin classExpression
-
setOperands
Description copied from class:ExpressionReplaces all the operands of this node with the given ones. Called by the constructor and by the parser once all the operands of a node are known, so a node that post-processes its operands overrides this method.- Overrides:
setOperandsin classExpression
-
getExpressionOperator
Description copied from class:ExpressionReturns the operator printed between the operands, before the operand at the given index.- Specified by:
getExpressionOperatorin classExpression
-