public abstract class AbstractValidator extends AnonymousExpressionVisitor
Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
AbstractGrammarValidator
,
AbstractSemanticValidator
Modifier and Type | Class and Description |
---|---|
static class |
AbstractValidator.BypassChildCollectionExpressionVisitor
This visitor is responsible to traverse the children of a
CollectionExpression in
order to properly validate the Expression . |
static class |
AbstractValidator.BypassParentSubExpressionVisitor
This visitor is responsible to traverse the parent hierarchy and to skip
SubExpression
if it's a parent. |
static class |
AbstractValidator.ChildrenCollectorVisitor
This visitor gathers the children of a
CollectionExpression or a single visited
Expression . |
static class |
AbstractValidator.JPQLQueryBNFValidator
This visitor validates any
Expression by checking its BNF against some BNFs. |
static class |
AbstractValidator.OwningClauseVisitor
This visitor retrieves the clause owning the visited
Expression . |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes this visitor.
|
int |
problemsSize()
Returns the current number of problems that were registered during validation.
|
void |
setProblems(java.util.Collection<JPQLQueryProblem> problems)
Sets the collection that will be used to store
problems this
validator will find in the JPQL query. |
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
public void dispose()
public final int problemsSize()
public void setProblems(java.util.Collection<JPQLQueryProblem> problems)
problems
this
validator will find in the JPQL query.problems
- A non-null
collection that will be used to store the problems
if any was foundjava.lang.NullPointerException
- The Collection cannot be null
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference