public class InNode extends SimpleConditionalExpressionNode
Purpose: Represent an IN in EJBQL
Responsibilities:
shouldGenerateExpression
Constructor and Description |
---|
InNode()
InNode constructor comment.
|
Modifier and Type | Method and Description |
---|---|
void |
addNodeToTheObjects(Node theNode)
INTERNAL
Add the passed node value to the collection of object for this node
|
Expression |
generateExpression(GenerationContext context)
INTERNAL
Return the EclipseLink expression for this node
|
java.util.List |
getTheObjects()
INTERNAL
Return the collection of the objects used as parameters for this node
|
void |
indicateNot()
INTERNAL
Indicate if a NOT was found in the WHERE clause.
|
boolean |
notIndicated() |
void |
setIsListParameterOrSubquery(boolean isListParameterOrSubquery)
INTERNAL:
This method is called to indicate that the inNode has a single argument.
|
void |
setTheObjects(java.util.List newTheObjects)
INTERNAL
Set this node's object collection to the passed value
|
void |
validate(ParseTreeContext context)
INTERNAL
Validate the current node and calculates 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, qualifyAttributeAccess, resolveAttribute, resolveClass, resolveClass, resolveMapping, resolveMapping, setAlias, setColumn, setLeft, setLine, setRight, setType, toString, toString, toStringDisplayName, toStringIndent, validateParameter
public void addNodeToTheObjects(Node theNode)
public void validate(ParseTreeContext context)
public Expression generateExpression(GenerationContext context)
generateExpression
in class Node
public java.util.List getTheObjects()
public void setIsListParameterOrSubquery(boolean isListParameterOrSubquery)
isListParameterOrSubquery
- public void setTheObjects(java.util.List newTheObjects)
public void indicateNot()
public boolean notIndicated()
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference