Purpose: Represent an IN in EJBQL
Responsibilities:
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private boolean | |
| private List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addNodeToTheObjects(Node theNode)
INTERNAL Add the passed node value to the collection of object for this node |
| public Expression | generateExpression(GenerationContext context)
Overrides org. |
| public List | |
| public void | |
| public boolean | |
| public void | setIsListParameterOrSubquery(boolean isListParameterOrSubquery)
INTERNAL: This method is called to indicate that the inNode has a single argument. |
| public void | setTheObjects(List<Node> newTheObjects)
INTERNAL Set this node's object collection to the passed value |
| public void | validate(ParseTreeContext context)
Overrides org. |
| isListParameterOrSubquery | back to summary |
|---|---|
| private boolean isListParameterOrSubquery | |
| notIndicated | back to summary |
|---|---|
| private boolean notIndicated | |
| theObjects | back to summary |
|---|---|
| private List<Node> theObjects | |
| InNode | back to summary |
|---|---|
| public InNode() InNode constructor comment. | |
| addNodeToTheObjects | back to summary |
|---|---|
| public void addNodeToTheObjects(Node theNode) INTERNAL Add the passed node value to the collection of object for this node | |
| generateExpression | back to summary |
|---|---|
| public Expression generateExpression(GenerationContext context) Overrides org. INTERNAL Return the EclipseLink expression for this node
| |
| getTheObjects | back to summary |
|---|---|
| public List INTERNAL Return the collection of the objects used as parameters for this node | |
| indicateNot | back to summary |
|---|---|
| public void indicateNot() INTERNAL Indicate if a NOT was found in the WHERE clause. Examples: ...WHERE ... NOT IN(...) | |
| notIndicated | back to summary |
|---|---|
| public boolean notIndicated() | |
| setIsListParameterOrSubquery | back to summary |
|---|---|
| public void setIsListParameterOrSubquery(boolean isListParameterOrSubquery) INTERNAL: This method is called to indicate that the inNode has a single argument. This will be either a subquery or a single parameter that contains the list of items to test | |
| setTheObjects | back to summary |
|---|---|
| public void setTheObjects(List<Node> newTheObjects) INTERNAL Set this node's object collection to the passed value | |
| validate | back to summary |
|---|---|
| public void validate(ParseTreeContext context) Overrides org. INTERNAL Validate the current node and calculates its type.
| |