Class ASTFloatScalar
java.lang.Object
org.apache.cayenne.template.parser.SimpleNode
org.apache.cayenne.template.parser.ScalarNode<Double>
org.apache.cayenne.template.parser.ASTFloatScalar
- 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 TypeMethodDescriptionboolean
evaluateAsBoolean
(Context context) double
evaluateAsDouble
(Context context) Methods inherited from class org.apache.cayenne.template.parser.ScalarNode
evaluate, evaluateAsLong, evaluateAsObject, evaluateAsString, getValue, setValue
Methods inherited from class org.apache.cayenne.template.parser.SimpleNode
dump, jjtAddChild, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtSetParent, toString, toString
-
Constructor Details
-
ASTFloatScalar
public ASTFloatScalar(int id)
-
-
Method Details
-
evaluateAsBoolean
- Specified by:
evaluateAsBoolean
in interfaceExpressionNode
- Overrides:
evaluateAsBoolean
in classScalarNode<Double>
-
evaluateAsDouble
- Specified by:
evaluateAsDouble
in interfaceExpressionNode
- Overrides:
evaluateAsDouble
in classScalarNode<Double>
-