| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public 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. |
| public Node | qualifyAttributeAccess(ParseTreeContext context)
Overrides org. |
| public void | |
| public void | validate(ParseTreeContext context)
Overrides org. |
| assignmentNodes | back to summary |
|---|---|
| private List<Node> assignmentNodes | |
| SetNode | back to summary |
|---|---|
| public SetNode() | |
| addUpdatesToQuery | back to summary |
|---|---|
| public void addUpdatesToQuery(UpdateAllQuery theQuery, GenerationContext context) Iterate through the updates in this query and build expressions for them. Set the built expressions on the query. | |
| getExpressionForNode | back to summary |
|---|---|
| protected Expression getExpressionForNode(Node node, Class<?> referenceClass, GenerationContext context) Create an expression to represent one of the nodes on a SetToNode. We will assume that set_to nodes change elements that are direct mappings on the reference class of the query. | |
| qualifyAttributeAccess | back to summary |
|---|---|
| public Node qualifyAttributeAccess(ParseTreeContext context) Overrides org. 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.
| |
| setAssignmentNodes | back to summary |
|---|---|
| public void setAssignmentNodes(List<Node> nodes) INTERNAL | |
| validate | back to summary |
|---|---|
| public void validate(ParseTreeContext context) Overrides org. INTERNAL Validate node.
| |