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
-
public class JoinDeclNode extends IdentificationVariableDeclNode
INTERNALPurpose: 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
Constructors Constructor Description JoinDeclNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodegetPath()booleanisOuterJoin()NodequalifyAttributeAccess(ParseTreeContext context)INTERNAL Check the path child node for an unqualified field access and if so, replace it by a qualified field access.voidsetOuterJoin(boolean outerJoin)voidsetPath(Node node)voidvalidate(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
-
-
-
-
Method Detail
-
getPath
public Node getPath()
- Overrides:
getPathin classIdentificationVariableDeclNode
-
setPath
public void setPath(Node node)
-
isOuterJoin
public boolean isOuterJoin()
-
setOuterJoin
public void setOuterJoin(boolean outerJoin)
-
qualifyAttributeAccess
public Node qualifyAttributeAccess(ParseTreeContext context)
INTERNAL Check the path child node for an unqualified field access and if so, replace it by a qualified field access.- Overrides:
qualifyAttributeAccessin classNode
-
validate
public void validate(ParseTreeContext context)
INTERNAL Validate node and calculate its type.- Overrides:
validatein classIdentificationVariableDeclNode
-
-