Class ModifyNode
- java.lang.Object
-
- org.eclipse.persistence.internal.jpa.parsing.Node
-
- org.eclipse.persistence.internal.jpa.parsing.MajorNode
-
- org.eclipse.persistence.internal.jpa.parsing.QueryNode
-
- org.eclipse.persistence.internal.jpa.parsing.ModifyNode
-
- Direct Known Subclasses:
DeleteNode,UpdateNode
public abstract class ModifyNode extends QueryNode
INTERNAL: ModifyNode is the superclass for UpdateNode and DeleteNode
-
-
Field Summary
-
Fields inherited from class org.eclipse.persistence.internal.jpa.parsing.Node
alias, left, right, shouldGenerateExpression
-
-
Constructor Summary
Constructors Constructor Description ModifyNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyToQuery(DatabaseQuery theQuery, GenerationContext context)INTERNAL Apply this node to the passed query.ExpressiongenerateExpression(GenerationContext context)INTERNALjava.lang.StringgetAbstractSchemaIdentifier()INTERNALjava.lang.StringgetAbstractSchemaName()INTERNALjava.lang.StringgetCanonicalAbstractSchemaIdentifier()INTERNAL: Returns the canonical name of abstract schema identifier.java.lang.ClassresolveClass(GenerationContext context)resolveClass: Answer the class which corresponds to my variableName.voidsetAbstractSchemaIdentifier(java.lang.String identifierName)INTERNALvoidsetAbstractSchemaName(java.lang.String abstractSchemaName)INTERNALvoidvalidate(ParseTreeContext context)INTERNAL Validate node and calculate its type.-
Methods inherited from class org.eclipse.persistence.internal.jpa.parsing.QueryNode
createDatabaseQuery, getParseTree, getReferenceClass, isDeleteNode, isSelectNode, isUpdateNode, setParseTree
-
Methods inherited from class org.eclipse.persistence.internal.jpa.parsing.MajorNode
getContext, setContext
-
Methods inherited from class org.eclipse.persistence.internal.jpa.parsing.Node
addToExpression, appendExpression, applyToQuery, 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, qualifyAttributeAccess, resolveAttribute, resolveClass, resolveMapping, resolveMapping, setAlias, setColumn, setLeft, setLine, setRight, setType, toString, toString, toStringDisplayName, toStringIndent, validateParameter
-
-
-
-
Method Detail
-
applyToQuery
public void applyToQuery(DatabaseQuery theQuery, GenerationContext context)
INTERNAL Apply this node to the passed query. This node does not change the query.- Specified by:
applyToQueryin classQueryNode
-
validate
public void validate(ParseTreeContext context)
INTERNAL Validate node and calculate its type.
-
generateExpression
public Expression generateExpression(GenerationContext context)
INTERNAL- Specified by:
generateExpressionin classQueryNode
-
getAbstractSchemaName
public java.lang.String getAbstractSchemaName()
INTERNAL
-
setAbstractSchemaName
public void setAbstractSchemaName(java.lang.String abstractSchemaName)
INTERNAL
-
getAbstractSchemaIdentifier
public java.lang.String getAbstractSchemaIdentifier()
INTERNAL
-
setAbstractSchemaIdentifier
public void setAbstractSchemaIdentifier(java.lang.String identifierName)
INTERNAL
-
getCanonicalAbstractSchemaIdentifier
public java.lang.String getCanonicalAbstractSchemaIdentifier()
INTERNAL: Returns the canonical name of abstract schema identifier. If the identifier is not specified(unqualified attribute scenario), the canonical name of abstract schema is returned.
-
resolveClass
public java.lang.Class resolveClass(GenerationContext context)
resolveClass: Answer the class which corresponds to my variableName. This is the class for an alias, where the variableName is registered to an alias.- Specified by:
resolveClassin classQueryNode
-
-