Module org.eclipse.persistence.core
Class LocateNode
java.lang.Object
org.eclipse.persistence.internal.jpa.parsing.Node
org.eclipse.persistence.internal.jpa.parsing.FunctionalExpressionNode
org.eclipse.persistence.internal.jpa.parsing.ArithmeticFunctionNode
org.eclipse.persistence.internal.jpa.parsing.LocateNode
- All Implemented Interfaces:
AliasableNode
INTERNAL
Purpose: Represent a LOCATE
Responsibilities:
- Generate the correct expression for a LOCATE
- Since:
- TopLink 4.0
-
Field Summary
Fields inherited from class org.eclipse.persistence.internal.jpa.parsing.Node
alias, left, right, shouldGenerateExpression
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongenerateExpression
(GenerationContext context) INTERNAL Generate the EclipseLink expression for this nodegetFind()
qualifyAttributeAccess
(ParseTreeContext context) INTERNAL Check the child nodes for an unqualified field access and if so, replace them by a qualified field access.void
void
void
setStartPosition
(Node newStartPosition) void
validate
(ParseTreeContext context) INTERNAL Validate node and calculate its type.Methods inherited from class org.eclipse.persistence.internal.jpa.parsing.FunctionalExpressionNode
applyToQuery, isAliasableNode
Methods inherited from class org.eclipse.persistence.internal.jpa.parsing.Node
addToExpression, appendExpression, getAlias, getAsString, getColumn, getLeft, getLine, getRight, getType, hasLeft, hasRight, isAggregateNode, 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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.persistence.internal.jpa.parsing.AliasableNode
getAlias, setAlias
-
Constructor Details
-
LocateNode
public LocateNode()Return a new LocateNode.
-
-
Method Details
-
qualifyAttributeAccess
INTERNAL Check the child nodes for an unqualified field access and if so, replace them by a qualified field access.- Overrides:
qualifyAttributeAccess
in classNode
-
validate
INTERNAL Validate node and calculate its type. -
generateExpression
INTERNAL Generate the EclipseLink expression for this node- Overrides:
generateExpression
in classNode
-
getFind
-
getFindIn
-
setFind
-
setFindIn
-
getStartPosition
-
setStartPosition
-