Class NotNode


  • public class NotNode
    extends LogicalOperatorNode
    INTERNAL

    Purpose: Represent a NOT

    Responsibilities:

    • Generate the correct expression for a NOT
    Since:
    TopLink 4.0
    Author:
    Jon Driscoll and Joel Lucuik
    • Constructor Detail

      • NotNode

        public NotNode()
        Return a new NotNode.
    • Method Detail

      • generateExpression

        public Expression generateExpression​(GenerationContext context)
        INTERNAL Return a EclipseLink expression by calling generateExpression on the right node and adding .not() to the returned expression
        Overrides:
        generateExpression in class Node
      • isNotNode

        public boolean isNotNode()
        INTERNAL Is this node a Not node
        Overrides:
        isNotNode in class Node