Class ASTIntScalar
- java.lang.Object
-
- org.apache.cayenne.template.parser.SimpleNode
-
- org.apache.cayenne.template.parser.ScalarNode<Long>
-
- org.apache.cayenne.template.parser.ASTIntScalar
-
- All Implemented Interfaces:
ExpressionNode
,Node
public class ASTIntScalar extends ScalarNode<Long>
- Since:
- 4.1
-
-
Field Summary
-
Fields inherited from class org.apache.cayenne.template.parser.SimpleNode
children, id, parent
-
-
Constructor Summary
Constructors Constructor Description ASTIntScalar(int id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
evaluateAsBoolean(Context context)
double
evaluateAsDouble(Context context)
long
evaluateAsLong(Context context)
-
Methods inherited from class org.apache.cayenne.template.parser.ScalarNode
evaluate, evaluateAsObject, evaluateAsString, getValue, setValue
-
Methods inherited from class org.apache.cayenne.template.parser.SimpleNode
dump, jjtAddChild, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtSetParent, toString, toString
-
-
-
-
Method Detail
-
evaluateAsBoolean
public boolean evaluateAsBoolean(Context context)
- Specified by:
evaluateAsBoolean
in interfaceExpressionNode
- Overrides:
evaluateAsBoolean
in classScalarNode<Long>
-
evaluateAsLong
public long evaluateAsLong(Context context)
- Specified by:
evaluateAsLong
in interfaceExpressionNode
- Overrides:
evaluateAsLong
in classScalarNode<Long>
-
evaluateAsDouble
public double evaluateAsDouble(Context context)
- Specified by:
evaluateAsDouble
in interfaceExpressionNode
- Overrides:
evaluateAsDouble
in classScalarNode<Long>
-
-