Class ASTVariable
java.lang.Object
org.apache.cayenne.template.parser.SimpleNode
org.apache.cayenne.template.parser.IdentifierNode
org.apache.cayenne.template.parser.ASTVariable
- All Implemented Interfaces:
ExpressionNode
,Node
- Since:
- 4.1
-
Field Summary
Fields inherited from class org.apache.cayenne.template.parser.SimpleNode
children, id, parent
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
evaluateAsBoolean
(Context context) double
evaluateAsDouble
(Context context) long
evaluateAsLong
(Context context) evaluateAsObject
(Context context) evaluateAsString
(Context context) Methods inherited from class org.apache.cayenne.template.parser.IdentifierNode
getIdentifier, setIdentifier
Methods inherited from class org.apache.cayenne.template.parser.SimpleNode
dump, jjtAddChild, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtSetParent, toString, toString
-
Constructor Details
-
ASTVariable
public ASTVariable(int id)
-
-
Method Details
-
evaluateAsString
- Specified by:
evaluateAsString
in interfaceExpressionNode
-
evaluateAsObject
- Specified by:
evaluateAsObject
in interfaceExpressionNode
-
evaluate
-
evaluateAsLong
- Specified by:
evaluateAsLong
in interfaceExpressionNode
-
evaluateAsDouble
- Specified by:
evaluateAsDouble
in interfaceExpressionNode
-
evaluateAsBoolean
- Specified by:
evaluateAsBoolean
in interfaceExpressionNode
-