public class MinusNode extends BinaryOperatorNode
Purpose: Represent a '-' in EJBQL
Responsibilities:
left, right, shouldGenerateExpression
Constructor and Description |
---|
MinusNode() |
Modifier and Type | Method and Description |
---|---|
Expression |
generateExpression(GenerationContext context)
INTERNAL
Generate the expression.
|
boolean |
isMinusNode()
INTERNAL
Is this node a Minus node
|
void |
validate(ParseTreeContext context)
INTERNAL
Validate node and calculates its type.
|
addToExpression, appendExpression, applyToQuery, getAsString, getColumn, getLeft, getLine, getRight, getType, hasLeft, hasRight, isAggregateNode, isAttributeNode, isConstructorNode, isCountNode, isDivideNode, isDotNode, isEscape, isLiteralNode, isMultiplyNode, isNotNode, isParameterNode, isPlusNode, isSubqueryNode, isVariableNode, qualifyAttributeAccess, resolveAttribute, resolveClass, resolveClass, resolveMapping, resolveMapping, setColumn, setLeft, setLine, setRight, setType, toString, toString, toStringDisplayName, toStringIndent, validateParameter
public void validate(ParseTreeContext context)
validate
in class BinaryOperatorNode
public Expression generateExpression(GenerationContext context)
generateExpression
in class Node
public boolean isMinusNode()
Node
isMinusNode
in class Node