Class EmptyCollectionComparisonNode


public class EmptyCollectionComparisonNode extends SimpleConditionalExpressionNode
INTERNAL

Purpose: Used for the EMPTY collection handling

Responsibilities:

  • Generate the correct expression for an IS EMPTY in EJBQL
Since:
August 2003
  • Field Details

    • notIndicated

      public boolean notIndicated
  • Constructor Details

    • EmptyCollectionComparisonNode

      public EmptyCollectionComparisonNode()
      EmptyCollectionComparisonNode constructor comment.
  • Method Details

    • validate

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

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

      public void indicateNot()
      INTERNAL Indicate if a NOT was found in the WHERE clause. Examples: ...WHERE emp.phoneNumbers IS NOT EMPTY