public class BetweenNode extends SimpleConditionalExpressionNode
Purpose: Represent a BETWEEN in EJBQL
Responsibilities:
shouldGenerateExpression| Constructor and Description |
|---|
BetweenNode()
BetweenNode constructor comment.
|
| Modifier and Type | Method and Description |
|---|---|
Expression |
generateExpression(GenerationContext context)
INTERNAL
Return a EclipseLink expression by 'BETWEEN' and 'AND'ing the expressions from the left,
rightForBetween and rightForAnd nodes
|
Node |
getRightForAnd() |
Node |
getRightForBetween() |
boolean |
hasRightForAnd() |
boolean |
hasRightForBetween() |
Node |
qualifyAttributeAccess(ParseTreeContext context)
INTERNAL
Check the child nodes for an unqualified field access and if there are
any, replace them by a qualified field access.
|
void |
setRightForAnd(Node newRightForAnd) |
void |
setRightForBetween(Node newRightForBetween) |
void |
validate(ParseTreeContext context)
INTERNAL
Validate node and calculate its type.
|
addToExpression, appendExpression, applyToQuery, getAlias, getAsString, getColumn, getLeft, getLine, getRight, getType, hasLeft, hasRight, isAggregateNode, isAliasableNode, isAttributeNode, isConstructorNode, isCountNode, isDivideNode, isDotNode, isEscape, isLiteralNode, isMapKeyNode, isMinusNode, isMultiplyNode, isNotNode, isParameterNode, isPlusNode, isSubqueryNode, isVariableNode, resolveAttribute, resolveClass, resolveClass, resolveMapping, resolveMapping, setAlias, setColumn, setLeft, setLine, setRight, setType, toString, toString, toStringDisplayName, toStringIndent, validateParameterpublic Node qualifyAttributeAccess(ParseTreeContext context)
qualifyAttributeAccess in class Nodepublic void validate(ParseTreeContext context)
public Expression generateExpression(GenerationContext context)
generateExpression in class Nodepublic Node getRightForAnd()
public Node getRightForBetween()
public boolean hasRightForAnd()
public boolean hasRightForBetween()
public void setRightForAnd(Node newRightForAnd)
public void setRightForBetween(Node newRightForBetween)
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference