Module org.eclipse.persistence.core
Class RangeDeclNode
java.lang.Object
org.eclipse.persistence.internal.jpa.parsing.Node
org.eclipse.persistence.internal.jpa.parsing.IdentificationVariableDeclNode
org.eclipse.persistence.internal.jpa.parsing.RangeDeclNode
INTERNAL
Purpose: Represent a range identification variable declaration as part of the FROM clause FROM Order o.
Responsibilities:
- Manage the abstract schema name range variable declaration.
-
Field Summary
Fields inherited from class org.eclipse.persistence.internal.jpa.parsing.Node
alias, left, right, shouldGenerateExpression
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionqualifyAttributeAccess
(ParseTreeContext context) INTERNAL Check for an unqualified field access.void
setAbstractSchemaName
(String name) void
validate
(ParseTreeContext context) INTERNAL Validate node and calculate its type.Methods inherited from class org.eclipse.persistence.internal.jpa.parsing.IdentificationVariableDeclNode
calculateCanonicalName, getCanonicalVariableName, getPath, getVariableName, setVariableName
Methods inherited from class org.eclipse.persistence.internal.jpa.parsing.Node
addToExpression, appendExpression, applyToQuery, generateExpression, getAlias, getAsString, getColumn, getLeft, getLine, getRight, getType, hasLeft, hasRight, isAggregateNode, isAliasableNode, isAttributeNode, isConstructorNode, isCountNode, isDivideNode, isDotNode, isEscape, isLiteralNode, isMapKeyNode, isMinusNode, isMultiplyNode, isNotNode, isParameterNode, isPlusNode, isSubqueryNode, isVariableNode, resolveAttribute, resolveClass, resolveClass, resolveMapping, resolveMapping, setAlias, setColumn, setLeft, setLine, setRight, setType, toString, toString, toStringDisplayName, toStringIndent, validateParameter
-
Constructor Details
-
RangeDeclNode
public RangeDeclNode()
-
-
Method Details
-
getAbstractSchemaName
-
setAbstractSchemaName
-
qualifyAttributeAccess
INTERNAL Check for an unqualified field access. If abstractSchemaName does not define a valid abstract schema name treat it as unqualified field access. Then method qualifies the field access and use it as the path expression of a new join variable declaration node returned by the method.- Overrides:
qualifyAttributeAccess
in classNode
-
validate
INTERNAL Validate node and calculate its type.- Overrides:
validate
in classIdentificationVariableDeclNode
-