public class NotNode extends LogicalOperatorNode
Purpose: Represent a NOT
Responsibilities:
left, right, shouldGenerateExpression
Constructor and Description |
---|
NotNode()
Return a new NotNode.
|
Modifier and Type | Method and Description |
---|---|
Expression |
generateExpression(GenerationContext context)
INTERNAL
Return a TopLink expression by calling generateExpression on the right node and adding .not()
to the returned expression
|
boolean |
isNotNode()
INTERNAL
Is this node a Not node
|
void |
validate(ParseTreeContext context)
INTERNAL
Validate node and calculate its type.
|
addToExpression, appendExpression, applyToQuery, getAsString, getColumn, getLeft, getLine, getRight, getType, hasLeft, hasRight, isAggregateNode, isAttributeNode, isConstructorNode, isCountNode, isDivideNode, isDotNode, isEscape, isLiteralNode, isMinusNode, isMultiplyNode, isParameterNode, isPlusNode, isSubqueryNode, isVariableNode, qualifyAttributeAccess, resolveAttribute, resolveClass, resolveClass, resolveMapping, resolveMapping, setColumn, setLeft, setLine, setRight, setType, toString, toString, toStringDisplayName, toStringIndent, validateParameter
public void validate(ParseTreeContext context)
validate
in class LogicalOperatorNode
public Expression generateExpression(GenerationContext context)
generateExpression
in class Node
Copyright © 2022. All rights reserved.