EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.jpa.jpql.model
Class BasicStateObjectBuilder.UpdateStatementBuilder

java.lang.Object
  extended by org.eclipse.persistence.jpa.jpql.parser.AnonymousExpressionVisitor
      extended by org.eclipse.persistence.jpa.jpql.parser.AbstractTraverseChildrenVisitor
          extended by org.eclipse.persistence.jpa.jpql.model.BasicStateObjectBuilder.UpdateStatementBuilder
All Implemented Interfaces:
IBuilder<UpdateStatementStateObject,JPQLQueryStateObject>, ExpressionVisitor
Enclosing class:
BasicStateObjectBuilder

protected class BasicStateObjectBuilder.UpdateStatementBuilder
extends AbstractTraverseChildrenVisitor
implements IBuilder<UpdateStatementStateObject,JPQLQueryStateObject>

This builder is responsible to create the StateObject representation of the UPDATE query statement.


Field Summary
protected  JPQLQueryStateObject parent
           
protected  UpdateStatementStateObject stateObject
           
protected  UpdateItemStateObject updateItem
           
 
Constructor Summary
protected BasicStateObjectBuilder.UpdateStatementBuilder()
           
 
Method Summary
 UpdateStatementStateObject buildStateObject(JPQLQueryStateObject parent, Expression expression)
          Creates the StateObject representation of the given Expression.
 void visit(AbstractSchemaName expression)
          Visits the AbstractSchemaName expression.
 void visit(IdentificationVariable expression)
          Visits the IdentificationVariable expression.
 void visit(RangeVariableDeclaration expression)
          Visits the RangeVariableDeclaration expression.
 void visit(StateFieldPathExpression expression)
          Visits the StateFieldPathExpression expression.
 void visit(UpdateClause expression)
          Visits the UpdateClause expression.
 void visit(UpdateItem expression)
          Visits the UpdateItem expression.
 void visit(UpdateStatement expression)
          Visits the UpdateStatement expression.
 void visit(WhereClause expression)
          Visits the WhereClause expression.
 
Methods inherited from class org.eclipse.persistence.jpa.jpql.parser.AbstractTraverseChildrenVisitor
visit
 
Methods inherited from class org.eclipse.persistence.jpa.jpql.parser.AnonymousExpressionVisitor
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parent

protected JPQLQueryStateObject parent

stateObject

protected UpdateStatementStateObject stateObject

updateItem

protected UpdateItemStateObject updateItem
Constructor Detail

BasicStateObjectBuilder.UpdateStatementBuilder

protected BasicStateObjectBuilder.UpdateStatementBuilder()
Method Detail

buildStateObject

public UpdateStatementStateObject buildStateObject(JPQLQueryStateObject parent,
                                                   Expression expression)
Creates the StateObject representation of the given Expression.

Specified by:
buildStateObject in interface IBuilder<UpdateStatementStateObject,JPQLQueryStateObject>
Parameters:
parent - The parent of the new StateObject to create
expression - The parsed Expression to convert into a StateObject
Returns:
The StateObject representation of the given Expression

visit

public void visit(AbstractSchemaName expression)
Visits the AbstractSchemaName expression.

Specified by:
visit in interface ExpressionVisitor
Overrides:
visit in class AnonymousExpressionVisitor
Parameters:
expression - The Expression to visit

visit

public void visit(IdentificationVariable expression)
Visits the IdentificationVariable expression.

Specified by:
visit in interface ExpressionVisitor
Overrides:
visit in class AnonymousExpressionVisitor
Parameters:
expression - The Expression to visit

visit

public void visit(RangeVariableDeclaration expression)
Visits the RangeVariableDeclaration expression.

Specified by:
visit in interface ExpressionVisitor
Overrides:
visit in class AnonymousExpressionVisitor
Parameters:
expression - The Expression to visit

visit

public void visit(StateFieldPathExpression expression)
Visits the StateFieldPathExpression expression.

Specified by:
visit in interface ExpressionVisitor
Overrides:
visit in class AnonymousExpressionVisitor
Parameters:
expression - The Expression to visit

visit

public void visit(UpdateClause expression)
Visits the UpdateClause expression.

Specified by:
visit in interface ExpressionVisitor
Overrides:
visit in class AnonymousExpressionVisitor
Parameters:
expression - The UpdateClause to visit

visit

public void visit(UpdateItem expression)
Visits the UpdateItem expression.

Specified by:
visit in interface ExpressionVisitor
Overrides:
visit in class AnonymousExpressionVisitor
Parameters:
expression - The UpdateItem to visit

visit

public void visit(UpdateStatement expression)
Visits the UpdateStatement expression.

Specified by:
visit in interface ExpressionVisitor
Overrides:
visit in class AnonymousExpressionVisitor
Parameters:
expression - The UpdateStatement to visit

visit

public void visit(WhereClause expression)
Visits the WhereClause expression.

Specified by:
visit in interface ExpressionVisitor
Overrides:
visit in class AnonymousExpressionVisitor
Parameters:
expression - The WhereClause to visit

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference