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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanevaluateAsBoolean(Context context) doubleevaluateAsDouble(Context context) Methods inherited from class ScalarNode
evaluate, evaluateAsLong, evaluateAsObject, evaluateAsString, getValue, setValueModifier and TypeMethodDescriptionvoidlongevaluateAsLong(Context context) evaluateAsObject(Context context) evaluateAsString(Context context) getValue()voidMethods inherited from class SimpleNode
dump, jjtAddChild, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtSetParent, toString, toStringModifier and TypeMethodDescriptionvoidOverride this method if you want to customize how the node dumps out its children.voidjjtAddChild(Node n, int i) This method tells the node to add its argument to the node's list of children.jjtGetChild(int i) This method returns a child node.intReturn the number of children the node has.voidjjtSetParent(Node n) This pair of methods are used to inform the node of its parent.toString()
-
Constructor Details
-
ASTFloatScalar
public ASTFloatScalar(int id)
-
-
Method Details
-
evaluateAsBoolean
- Specified by:
evaluateAsBooleanin interfaceExpressionNode- Overrides:
evaluateAsBooleanin classScalarNode<Double>
-
evaluateAsDouble
- Specified by:
evaluateAsDoublein interfaceExpressionNode- Overrides:
evaluateAsDoublein classScalarNode<Double>
-