public class SetNode extends MajorNode
left, right, shouldGenerateExpression
Constructor and Description |
---|
SetNode() |
Modifier and Type | Method and Description |
---|---|
void |
addUpdatesToQuery(UpdateAllQuery theQuery,
GenerationContext context)
Iterate through the updates in this query and build expressions for them.
|
protected Expression |
getExpressionForNode(Node node,
Class referenceClass,
GenerationContext context)
Create an expression to represent one of the nodes on a SetToNode.
|
Node |
qualifyAttributeAccess(ParseTreeContext context)
INTERNAL
Check the update item node for a path expression starting with a
unqualified field access and if so, replace it by a qualified field
access.
|
void |
setAssignmentNodes(List nodes)
INTERNAL
|
void |
validate(ParseTreeContext context)
INTERNAL
Validate node.
|
getContext, setContext
addToExpression, appendExpression, applyToQuery, generateExpression, getAsString, getColumn, getLeft, getLine, getRight, getType, hasLeft, hasRight, isAggregateNode, isAttributeNode, isConstructorNode, isCountNode, isDivideNode, isDotNode, isEscape, isLiteralNode, isMinusNode, isMultiplyNode, isNotNode, isParameterNode, isPlusNode, isSubqueryNode, isVariableNode, resolveAttribute, resolveClass, resolveClass, resolveMapping, resolveMapping, setColumn, setLeft, setLine, setRight, setType, toString, toString, toStringDisplayName, toStringIndent, validateParameter
public void addUpdatesToQuery(UpdateAllQuery theQuery, GenerationContext context)
public Node qualifyAttributeAccess(ParseTreeContext context)
qualifyAttributeAccess
in class Node
public void validate(ParseTreeContext context)
protected Expression getExpressionForNode(Node node, Class referenceClass, GenerationContext context)
public void setAssignmentNodes(List nodes)
Copyright © 2021. All rights reserved.