Class CollectionMemberDeclNode
- java.lang.Object
-
- org.eclipse.persistence.internal.jpa.parsing.Node
-
- org.eclipse.persistence.internal.jpa.parsing.IdentificationVariableDeclNode
-
- org.eclipse.persistence.internal.jpa.parsing.CollectionMemberDeclNode
-
public class CollectionMemberDeclNode extends IdentificationVariableDeclNode
INTERNALPurpose: Represent collection member identification variable declaration as part of the FROM clause: IN(c.orders) o.
Responsibilities:
- Manage the path node specifying the collection.
-
-
Field Summary
-
Fields inherited from class org.eclipse.persistence.internal.jpa.parsing.Node
alias, left, right, shouldGenerateExpression
-
-
Constructor Summary
Constructors Constructor Description CollectionMemberDeclNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Node
getPath()
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.void
setPath(Node node)
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
-
-
-
-
Method Detail
-
getPath
public Node getPath()
- Overrides:
getPath
in classIdentificationVariableDeclNode
-
setPath
public void setPath(Node node)
-
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:
qualifyAttributeAccess
in classNode
-
validate
public void validate(ParseTreeContext context)
INTERNAL Validate node and calculate its type.- Overrides:
validate
in classIdentificationVariableDeclNode
-
-