Class ArithmeticExp
java.lang.Object
org.apache.cayenne.exp.Expression
org.apache.cayenne.exp.ValueExp
org.apache.cayenne.exp.ArithmeticExp
- All Implemented Interfaces:
XMLSerializable
- Direct Known Subclasses:
AddExp, DivideExp, MultiplyExp, SubtractExp
public abstract sealed class ArithmeticExp
extends ValueExp
permits AddExp, DivideExp, MultiplyExp, SubtractExp
- Since:
- 5.0
-
Field Summary
Fields inherited from class Expression
operands, PRUNED_NODE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectevaluateSubNode(Object o, Object[] evaluatedChildren) protected intprotected abstract BigDecimalop(BigDecimal result, BigDecimal arg) Methods inherited from class ValueExp
evaluateNodeMethods inherited from class Expression
andExp, andExp, appendAsString, appendOperandAsString, deepCopy, encodeAsXML, equals, evaluate, evaluateOperand, exists, expName, filter, filterObjects, first, flattenTree, getExpressionOperator, getOperand, getOperandCount, getPathAliases, hashCode, isValidParent, match, notExists, notExp, orExp, orExp, params, params, paramsArray, parenthesizeAsOperand, pruneNodeForPrunedChild, setOperand, setOperands, shallowCopy, toString, transform, transformExpression, traverse, traverse
-
Constructor Details
-
ArithmeticExp
-
-
Method Details
-
getRequiredChildrenCount
protected int getRequiredChildrenCount()- Specified by:
getRequiredChildrenCountin classValueExp
-
evaluateSubNode
-
op
-