public class InNode extends SimpleConditionalExpressionNode
Purpose: Represent an IN in EJBQL
Responsibilities:
left, right, 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 TopLink expression for this node
|
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 |
setTheObjects(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, getAsString, getColumn, getLeft, getLine, getRight, getType, hasLeft, hasRight, isAggregateNode, isAttributeNode, isConstructorNode, isCountNode, isDivideNode, isDotNode, isEscape, isLiteralNode, isMinusNode, isMultiplyNode, isNotNode, isParameterNode, isPlusNode, isSubqueryNode, isVariableNode, qualifyAttributeAccess, resolveAttribute, resolveClass, resolveClass, resolveMapping, resolveMapping, 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 List getTheObjects()
public void setTheObjects(List newTheObjects)
public void indicateNot()
public boolean notIndicated()
Copyright © 2024. All rights reserved.