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
-
public class RangeDeclNode extends IdentificationVariableDeclNode
INTERNALPurpose: 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
Constructors Constructor Description RangeDeclNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAbstractSchemaName()
Node
qualifyAttributeAccess(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
-
-
-
-
Method Detail
-
getAbstractSchemaName
public String getAbstractSchemaName()
-
setAbstractSchemaName
public void setAbstractSchemaName(String name)
-
qualifyAttributeAccess
public Node qualifyAttributeAccess(ParseTreeContext context)
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
public void validate(ParseTreeContext context)
INTERNAL Validate node and calculate its type.- Overrides:
validate
in classIdentificationVariableDeclNode
-
-