Package org.eclipse.persistence.jpa.jpql
Class AbstractValidator.ChildrenCollectorVisitor
- java.lang.Object
-
- org.eclipse.persistence.jpa.jpql.parser.AnonymousExpressionVisitor
-
- org.eclipse.persistence.jpa.jpql.AbstractValidator.ChildrenCollectorVisitor
-
- All Implemented Interfaces:
ExpressionVisitor
- Enclosing class:
- AbstractValidator
public static class AbstractValidator.ChildrenCollectorVisitor extends AnonymousExpressionVisitor
This visitor gathers the children of aCollectionExpression
or a single visitedExpression
.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<Expression>
expressions
The uniqueExpression
that was visited or the children ofCollectionExpression
.
-
Constructor Summary
Constructors Constructor Description ChildrenCollectorVisitor()
Creates a newChildrenCollectorVisitor
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
visit(CollectionExpression expression)
Visits theCollectionExpression
expression.protected void
visit(Expression expression)
Blindly visit the givenExpression
.void
visit(NullExpression expression)
Visits theNullExpression
expression.-
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, visit, visit, visit
-
-
-
-
Field Detail
-
expressions
protected java.util.List<Expression> expressions
The uniqueExpression
that was visited or the children ofCollectionExpression
.
-
-
Method Detail
-
visit
public void visit(CollectionExpression expression)
Visits theCollectionExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
protected void visit(Expression expression)
Blindly visit the givenExpression
.- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(NullExpression expression)
Visits theNullExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
-