EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.jpa.jpql
Interface ResolverVisitor


public interface ResolverVisitor

The interface is used to traverse some of the subclasses of Resolver. This visitor is meant to traverse state field path expressions and collection-valued path expressions. The hierarchy of resolving a path expression looks like this:

 EntityResolver
 or
 CollectionValuedFieldResolver
 or
 TreatResolver
  |
  -> IdentificationVariableResolver
      |
      (optional KeyResolver or ValueResolver)
      |
      -> StateFieldResolver
          |
        1...n
          |
          -> StateFieldResolver or CollectionValuedFieldResolver
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.

Version:
2.4
Author:
Pascal Filion
Since:
2.3

Method Summary
 void visit(CollectionValuedFieldResolver resolver)
          Visits the given CollectionValuedFieldResolver.
 void visit(EntityResolver resolver)
          Visits the given EntityResolver.
 void visit(EnumLiteralResolver resolver)
          Visits the given EnumLiteralResolver.
 void visit(IdentificationVariableResolver resolver)
          Visits the given IdentificationVariableResolver.
 void visit(KeyResolver resolver)
          Visits the given KeyResolver.
 void visit(StateFieldResolver resolver)
          Visits the given StateFieldResolver.
 void visit(TreatResolver resolver)
          Visits the given TreatResolver.
 void visit(ValueResolver resolver)
          Visits the given ValueResolver.
 

Method Detail

visit

void visit(CollectionValuedFieldResolver resolver)
Visits the given CollectionValuedFieldResolver.

Parameters:
resolver - The Resolver to visit

visit

void visit(EntityResolver resolver)
Visits the given EntityResolver.

Parameters:
resolver - The Resolver to visit

visit

void visit(EnumLiteralResolver resolver)
Visits the given EnumLiteralResolver.

Parameters:
resolver - The Resolver to visit

visit

void visit(IdentificationVariableResolver resolver)
Visits the given IdentificationVariableResolver.

Parameters:
resolver - The Resolver to visit

visit

void visit(KeyResolver resolver)
Visits the given KeyResolver.

Parameters:
resolver - The Resolver to visit

visit

void visit(StateFieldResolver resolver)
Visits the given StateFieldResolver.

Parameters:
resolver - The Resolver to visit

visit

void visit(TreatResolver resolver)
Visits the given TreatResolver.

Parameters:
resolver - The Resolver to visit

visit

void visit(ValueResolver resolver)
Visits the given ValueResolver.

Parameters:
resolver - The Resolver to visit

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference