Module org.eclipse.persistence.core
Class JoinDeclNode
java.lang.Object
org.eclipse.persistence.internal.jpa.parsing.Node
org.eclipse.persistence.internal.jpa.parsing.IdentificationVariableDeclNode
org.eclipse.persistence.internal.jpa.parsing.JoinDeclNode
INTERNAL
Purpose: Represent JOIN identification variable declaration as part of the FROM clause: JOIN c.orders o.
Responsibilities:
- Manage the path node and the outer join flag of the JOIN clause.
-
Field Summary
Fields inherited from class org.eclipse.persistence.internal.jpa.parsing.Node
alias, left, right, shouldGenerateExpression
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPath()
boolean
qualifyAttributeAccess
(ParseTreeContext context) INTERNAL Check the path child node for an unqualified field access and if so, replace it by a qualified field access.void
setOuterJoin
(boolean outerJoin) void
void
validate
(ParseTreeContext context) INTERNAL Validate node and calculate its type.Methods inherited from class org.eclipse.persistence.internal.jpa.parsing.IdentificationVariableDeclNode
calculateCanonicalName, getCanonicalVariableName, 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
-
JoinDeclNode
public JoinDeclNode()
-
-
Method Details
-
getPath
- Overrides:
getPath
in classIdentificationVariableDeclNode
-
setPath
-
isOuterJoin
public boolean isOuterJoin() -
setOuterJoin
public void setOuterJoin(boolean outerJoin) -
qualifyAttributeAccess
INTERNAL Check the path child node for an unqualified field access and if so, replace it by a qualified field access.- Overrides:
qualifyAttributeAccess
in classNode
-
validate
INTERNAL Validate node and calculate its type.- Overrides:
validate
in classIdentificationVariableDeclNode
-