EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

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

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.DeleteStatementBuilder
All Implemented Interfaces:
IBuilder<DeleteStatementStateObject,JPQLQueryStateObject>, ExpressionVisitor
Enclosing class:
BasicStateObjectBuilder

protected class BasicStateObjectBuilder.DeleteStatementBuilder
extends AbstractTraverseChildrenVisitor
implements IBuilder<DeleteStatementStateObject,JPQLQueryStateObject>

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


Field Summary
protected  JPQLQueryStateObject parent
           
protected  DeleteStatementStateObject stateObject
           
 
Constructor Summary
protected BasicStateObjectBuilder.DeleteStatementBuilder()
           
 
Method Summary
 DeleteStatementStateObject buildStateObject(JPQLQueryStateObject parent, Expression expression)
          Creates the StateObject representation of the given Expression.
 void visit(AbstractSchemaName expression)
          Visits the AbstractSchemaName expression.
 void visit(DeleteClause expression)
          Visits the DeleteClause expression.
 void visit(DeleteStatement expression)
          Visits the DeleteStatement expression.
 void visit(IdentificationVariable expression)
          Visits the IdentificationVariable expression.
 void visit(RangeVariableDeclaration expression)
          Visits the RangeVariableDeclaration 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, 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 DeleteStatementStateObject stateObject
Constructor Detail

BasicStateObjectBuilder.DeleteStatementBuilder

protected BasicStateObjectBuilder.DeleteStatementBuilder()
Method Detail

buildStateObject

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

Specified by:
buildStateObject in interface IBuilder<DeleteStatementStateObject,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(DeleteClause expression)
Visits the DeleteClause expression.

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

visit

public void visit(DeleteStatement expression)
Visits the DeleteStatement 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(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