Package org.eclipse.persistence.jpa.jpql
Class AbstractValidator.OwningClauseVisitor
- java.lang.Object
-
- org.eclipse.persistence.jpa.jpql.parser.AnonymousExpressionVisitor
-
- org.eclipse.persistence.jpa.jpql.parser.AbstractTraverseParentVisitor
-
- org.eclipse.persistence.jpa.jpql.AbstractValidator.OwningClauseVisitor
-
- All Implemented Interfaces:
ExpressionVisitor
- Direct Known Subclasses:
AbstractEclipseLinkSemanticValidator.EclipseLinkOwningClauseVisitor
- Enclosing class:
- AbstractValidator
public static class AbstractValidator.OwningClauseVisitor extends AbstractTraverseParentVisitor
This visitor retrieves the clause owning the visitedExpression
.
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description OwningClauseVisitor()
Creates a newOwningClauseVisitor
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
Disposes the internal data.void
visit(DeleteClause expression)
Visits theDeleteClause
expression.void
visit(FromClause expression)
Visits theFromClause
expression.void
visit(GroupByClause expression)
Visits theGroupByClause
expression.void
visit(HavingClause expression)
Visits theHavingClause
expression.void
visit(OrderByClause expression)
Visits theOrderByClause
expression.void
visit(SelectClause expression)
Visits theSelectClause
expression.void
visit(SimpleFromClause expression)
Visits theSimpleFromClause
expression.void
visit(SimpleSelectClause expression)
Visits theSimpleSelectClause
expression.void
visit(UpdateClause expression)
Visits theUpdateClause
expression.void
visit(WhereClause expression)
Visits theWhereClause
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
-
-
-
-
Field Detail
-
deleteClause
public DeleteClause deleteClause
-
fromClause
public FromClause fromClause
-
groupByClause
public GroupByClause groupByClause
-
havingClause
public HavingClause havingClause
-
orderByClause
public OrderByClause orderByClause
-
selectClause
public SelectClause selectClause
-
simpleFromClause
public SimpleFromClause simpleFromClause
-
simpleSelectClause
public SimpleSelectClause simpleSelectClause
-
updateClause
public UpdateClause updateClause
-
whereClause
public WhereClause whereClause
-
-
Method Detail
-
dispose
public void dispose()
Disposes the internal data.
-
visit
public void visit(DeleteClause expression)
Visits theDeleteClause
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(FromClause expression)
Visits theFromClause
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(GroupByClause expression)
Visits theGroupByClause
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(HavingClause expression)
Visits theHavingClause
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(OrderByClause expression)
Visits theOrderByClause
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(SelectClause expression)
Visits theSelectClause
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(SimpleFromClause expression)
Visits theSimpleFromClause
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(SimpleSelectClause expression)
Visits theSimpleSelectClause
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(UpdateClause expression)
Visits theUpdateClause
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheUpdateClause
to visit
-
visit
public void visit(WhereClause expression)
Visits theWhereClause
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheWhereClause
to visit
-
-