Class EscapeNode
- java.lang.Object
-
- org.eclipse.persistence.internal.jpa.parsing.Node
-
- org.eclipse.persistence.internal.jpa.parsing.LogicalOperatorNode
-
- org.eclipse.persistence.internal.jpa.parsing.EscapeNode
-
public class EscapeNode extends LogicalOperatorNode
-
-
Field Summary
-
Fields inherited from class org.eclipse.persistence.internal.jpa.parsing.Node
alias, left, right, shouldGenerateExpression
-
-
Constructor Summary
Constructors Constructor Description EscapeNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExpressiongenerateExpression(GenerationContext context)INTERNAL Generate an expression for the node.booleanisEscape()INTERNAL Is this an escape nodevoidvalidate(ParseTreeContext context)INTERNAL Validate the current node and calculates its type.-
Methods inherited from class org.eclipse.persistence.internal.jpa.parsing.Node
addToExpression, appendExpression, applyToQuery, getAlias, getAsString, getColumn, getLeft, getLine, getRight, getType, hasLeft, hasRight, isAggregateNode, isAliasableNode, isAttributeNode, isConstructorNode, isCountNode, isDivideNode, isDotNode, isLiteralNode, isMapKeyNode, isMinusNode, isMultiplyNode, isNotNode, isParameterNode, isPlusNode, isSubqueryNode, isVariableNode, qualifyAttributeAccess, resolveAttribute, resolveClass, resolveClass, resolveMapping, resolveMapping, setAlias, setColumn, setLeft, setLine, setRight, setType, toString, toString, toStringDisplayName, toStringIndent, validateParameter
-
-
-
-
Method Detail
-
isEscape
public boolean isEscape()
INTERNAL Is this an escape node
-
validate
public void validate(ParseTreeContext context)
INTERNAL Validate the current node and calculates its type.- Overrides:
validatein classLogicalOperatorNode
-
generateExpression
public Expression generateExpression(GenerationContext context)
Description copied from class:NodeINTERNAL Generate an expression for the node. Each subclass will generate a different expression and thus will need to override this method- Overrides:
generateExpressionin classNode
-
-