public class InNode extends SimpleConditionalExpressionNode
INTERNAL

Purpose: Represent an IN in EJBQL

Responsibilities:

  • Generate the correct expression for an IN
Since:
TopLink 4.0
  • Constructor Details

    • InNode

      public InNode()
      InNode constructor comment.
  • Method Details

    • addNodeToTheObjects

      public void addNodeToTheObjects(Node theNode)
      INTERNAL Add the passed node value to the collection of object for this node
    • validate

      public void validate(ParseTreeContext context)
      INTERNAL Validate the current node and calculates its type.
      Overrides:
      validate in class Node
    • generateExpression

      public Expression generateExpression(GenerationContext context)
      INTERNAL Return the EclipseLink expression for this node
      Overrides:
      generateExpression in class Node
    • getTheObjects

      public List<Node> getTheObjects()
      INTERNAL Return the collection of the objects used as parameters for this node
    • setIsListParameterOrSubquery

      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

      public void setTheObjects(List<Node> newTheObjects)
      INTERNAL Set this node's object collection to the passed value
    • indicateNot

      public void indicateNot()
      INTERNAL Indicate if a NOT was found in the WHERE clause. Examples: ...WHERE ... NOT IN(...)
    • notIndicated

      public boolean notIndicated()