Package org.eclipse.persistence.jpa.jpql
Class AbstractValidator.OwningStatementVisitor
- java.lang.Object
-
- org.eclipse.persistence.jpa.jpql.parser.AnonymousExpressionVisitor
-
- org.eclipse.persistence.jpa.jpql.parser.AbstractTraverseParentVisitor
-
- org.eclipse.persistence.jpa.jpql.AbstractValidator.OwningStatementVisitor
-
- All Implemented Interfaces:
ExpressionVisitor
- Enclosing class:
- AbstractValidator
protected static class AbstractValidator.OwningStatementVisitor extends AbstractTraverseParentVisitor
This visitor retrieves the statement owning the visitedExpression
.
-
-
Field Summary
Fields Modifier and Type Field Description DeleteStatement
deleteStatement
SelectStatement
selectStatement
SimpleSelectStatement
simpleSelectStatement
UpdateStatement
updateStatement
-
Constructor Summary
Constructors Modifier Constructor Description protected
OwningStatementVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
dispose()
Disposes the internal data.void
visit(DeleteStatement expression)
Visits theDeleteStatement
expression.void
visit(SelectStatement expression)
Visits theSelectStatement
expression.void
visit(SimpleSelectStatement expression)
Visits theSimpleSelectStatement
expression.void
visit(UpdateStatement expression)
Visits theUpdateStatement
expression.-
Methods inherited from class org.eclipse.persistence.jpa.jpql.parser.AbstractTraverseParentVisitor
visit, 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, visit
-
-
-
-
Field Detail
-
deleteStatement
public DeleteStatement deleteStatement
-
selectStatement
public SelectStatement selectStatement
-
simpleSelectStatement
public SimpleSelectStatement simpleSelectStatement
-
updateStatement
public UpdateStatement updateStatement
-
-
Method Detail
-
dispose
protected void dispose()
Disposes the internal data.
-
visit
public void visit(DeleteStatement expression)
Visits theDeleteStatement
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(SelectStatement expression)
Visits theSelectStatement
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(SimpleSelectStatement expression)
Visits theSimpleSelectStatement
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(UpdateStatement expression)
Visits theUpdateStatement
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheUpdateStatement
to visit
-
-