Class MultiplyExp
java.lang.Object
org.apache.cayenne.exp.Expression
org.apache.cayenne.exp.ValueExp
org.apache.cayenne.exp.ArithmeticExp
org.apache.cayenne.exp.MultiplyExp
- All Implemented Interfaces:
XMLSerializable
-
Field Summary
Fields inherited from class Expression
operands, PRUNED_NODE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetExpressionOperator(int index) Returns the operator printed between the operands, before the operand at the given index.protected BigDecimalop(BigDecimal result, BigDecimal arg) 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 ArithmeticExp
evaluateSubNode, getRequiredChildrenCountMethods inherited from class ValueExp
evaluateNodeMethods inherited from class Expression
andExp, andExp, appendAsString, appendOperandAsString, deepCopy, encodeAsXML, equals, evaluate, evaluateOperand, exists, expName, filter, filterObjects, first, flattenTree, getOperand, getOperandCount, getPathAliases, hashCode, isValidParent, match, notExists, notExp, orExp, orExp, params, params, paramsArray, parenthesizeAsOperand, pruneNodeForPrunedChild, setOperand, toString, transform, transformExpression, traverse, traverse
-
Constructor Details
-
MultiplyExp
-
-
Method Details
-
op
- Specified by:
opin classArithmeticExp
-
shallowCopy
Creates a copy of this expression node, without copying children.- Specified by:
shallowCopyin classExpression
-
getExpressionOperator
Description copied from class:ExpressionReturns the operator printed between the operands, before the operand at the given index.- Specified by:
getExpressionOperatorin 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
-