Class TrimExp
java.lang.Object
org.apache.cayenne.exp.Expression
org.apache.cayenne.exp.ValueExp
org.apache.cayenne.exp.FunctionCallExp
org.apache.cayenne.exp.TrimExp
- All Implemented Interfaces:
XMLSerializable
- 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 StringgetExpressionOperator(int index) Returns the operator printed between the operands, before the operand at the given index.protected intCreates a copy of this expression node, without copying children.Methods inherited from class FunctionCallExp
appendAsString, appendFunctionNameAsString, equals, hashCode, nameToCamelCase, needParenthesis, parenthesizeAsOperandMethods inherited from class ValueExp
evaluateNodeMethods inherited from class Expression
andExp, andExp, appendOperandAsString, deepCopy, encodeAsXML, evaluate, evaluateOperand, exists, expName, filter, filterObjects, first, flattenTree, getOperand, getOperandCount, getPathAliases, isValidParent, match, notExists, notExp, orExp, orExp, params, params, paramsArray, pruneNodeForPrunedChild, setOperand, setOperands, toString, transform, transformExpression, traverse, traverse
-
Constructor Details
-
TrimExp
-
-
Method Details
-
getFunctionName
- Specified by:
getFunctionNamein classFunctionCallExp
-
getExpressionOperator
Description copied from class:ExpressionReturns the operator printed between the operands, before the operand at the given index.- Overrides:
getExpressionOperatorin classFunctionCallExp
-
getRequiredChildrenCount
protected int getRequiredChildrenCount()- Specified by:
getRequiredChildrenCountin classValueExp
-
evaluateSubNode
-
shallowCopy
Description copied from class:ExpressionCreates a copy of this expression node, without copying children.- Specified by:
shallowCopyin classExpression
-