Top Description Constructors Methods
org.eclipse.persistence.internal.jpa.parsing

public Class NotNode

extends LogicalOperatorNode
Class Inheritance
Imports
org.eclipse.persistence.expressions.*

INTERNAL

Purpose: Represent a NOT

Responsibilities:

Author
Jon Driscoll and Joel Lucuik
Since
TopLink 4.0

Constructor Summary

AccessConstructor and Description
public
NotNode()

Return a new NotNode.

Method Summary

Modifier and TypeMethod and Description
public Expression
generateExpression(GenerationContext context)

Overrides org.eclipse.persistence.internal.jpa.parsing.Node.generateExpression.

INTERNAL Return a EclipseLink expression by calling generateExpression on the right node and adding .not() to the returned expression
public boolean
isNotNode()

Overrides org.eclipse.persistence.internal.jpa.parsing.Node.isNotNode.

INTERNAL Is this node a Not node
public void
validate(ParseTreeContext context)

Overrides org.eclipse.persistence.internal.jpa.parsing.LogicalOperatorNode.validate.

INTERNAL Validate node and calculate its type.

Constructor Detail

NotNodeback to summary
public NotNode()

Return a new NotNode.

Method Detail

generateExpressionback to summary
public Expression generateExpression(GenerationContext context)

Overrides org.eclipse.persistence.internal.jpa.parsing.Node.generateExpression.

INTERNAL Return a EclipseLink expression by calling generateExpression on the right node and adding .not() to the returned expression

Annotations
@Override
isNotNodeback to summary
public boolean isNotNode()

Overrides org.eclipse.persistence.internal.jpa.parsing.Node.isNotNode.

INTERNAL Is this node a Not node

Annotations
@Override
validateback to summary
public void validate(ParseTreeContext context)

Overrides org.eclipse.persistence.internal.jpa.parsing.LogicalOperatorNode.validate.

INTERNAL Validate node and calculate its type.

Annotations
@Override