See: Description
Interface | Description |
---|---|
ContentAssistProposals |
This object stores the various proposals available for content assist for a certain position
within a JPQL query.
|
ITypeHelper | |
JPQLQueryDeclaration |
A
JPQLQueryDeclaration represents either an identification variable declaration or a
collection member declaration. |
JPQLQueryProblem |
A problem describes an issue found in a JPQL query because it is either grammatically or
semantically incorrect.
|
JPQLQueryProblemMessages |
The list of messages used by
JPQLQueryProblems when validating a JPQL query. |
RefactoringDelta |
A refactoring delta contains an ordered collection of
TextEdit . |
ResolverVisitor |
The interface is used to traverse some of the subclasses of
Resolver . |
ResultQuery |
This is used to retrieve the new JPQL query when a content assist item needs to be insert at
a certain position.
|
SemanticValidatorHelper |
This helper is used by
AbstractSemanticValidator in order to retrieve JPA information. |
TextEdit |
A
TextEdit contains the information of a change that can be made to the JPQL query
after performing a refactoring operation. |
Class | Description |
---|---|
AbsFunctionResolver | |
AbstractContentAssistVisitor |
The visitor provides support for finding the possible proposals within a JPQL query at a certain
position.
|
AbstractGrammarValidator |
The base validator responsible to gather the problems found in a JPQL query by validating it
against the provided JPQL grammar.
|
AbstractJPQLQueryHelper |
This helper can perform the following operations over a JPQL query:
Calculates the result type of a query:
AbstractJPQLQueryHelper.getResultType() ;
Calculates the type of an input parameter: AbstractJPQLQueryHelper.getParameterType(String) . |
AbstractPathResolver |
This
Resolver is responsible to resolve a single path of a path expression (state field
path expression, singled valued object field, or a collection-valued path expression). |
AbstractRefactoringTool |
The abstract definition of a refactoring
|
AbstractSemanticValidator |
The base validator responsible to gather the problems found in a JPQL query by validating the
content to make sure it is semantically valid, i.e.
|
AbstractValidator |
The abstract definition of a validator, which provides helper methods and visitors.
|
AbstractValidator.JPQLQueryBNFValidator |
This visitor validates any
Expression by checking its BNF against some BNFs. |
AbstractValidator.OwningClauseVisitor |
This visitor retrieves the clause owning the visited
Expression . |
Assert |
An utility class that provides various checks and when the condition fails, then an
Assert.AssertException is thrown. |
BasicRefactoringTool |
The abstract implementation providing refactoring support for JPQL queries.
|
ClassNameResolver | |
ClassResolver |
This
Resolver simply holds onto the actual type since it is already determined. |
CollectionEquivalentResolver |
This
Resolver compares each IType retrieved from the list of Resolvers that were gathered for a given Expression and returns that type if they are all the same type otherwise the IType for
Object is returned. |
CollectionValuedFieldResolver |
This
Resolver is responsible to resolve the type of a collection-valued field. |
DeclarationResolver |
This
Resolver is responsible to visit the current query (which is either the top-level
query or a subquery) and gathers the information from the declaration clause. |
DeclarationResolver.Declaration |
A
Declaration represents either an identification variable declaration or a
collection member declaration. |
DefaultBasicRefactoringTool |
This utility class provides basic refactoring support.
|
DefaultContentAssistProposals |
The default implementation of
ContentAssistProposals which stores the valid proposals. |
DefaultContentAssistVisitor |
This visitor traverses the JPQL parsed tree and gathers the possible proposals at a given position.
|
DefaultGrammarValidator |
This validator is responsible to validate a JPQL query grammatically purely based on the JPA
specification document.
|
DefaultJPQLQueryContext |
This context is used to store information related to the JPQL query.
|
DefaultJPQLQueryHelper |
This helper can perform the following operations over a JPQL query:
Calculates the result type of a query:
AbstractJPQLQueryHelper.getResultType() ;
Calculates the type of an input parameter: AbstractJPQLQueryHelper.getParameterType(String) .
Calculates the possible choices to complete the query from a given
position (used for content assist): AbstractJPQLQueryHelper.buildContentAssistProposals(int) .
Validates the query by introspecting it grammatically and semantically:
AbstractJPQLQueryHelper.validate() ,
AbstractJPQLQueryHelper.validateGrammar() ,
AbstractJPQLQueryHelper.validateSemantic() .
This helper should be used when the JPQL query is written using the JPQL grammar defined in the
Java Persistence functional specification 1.0 or 2.x. |
DefaultLiteralVisitor |
This visitor traverses an
Expression
and retrieves the "literal" value. |
DefaultParameterTypeVisitor | |
DefaultRefactoringDelta |
The default implementation of
RefactoringDelta which contains the TextEdit that
were creating during the refactoring of a JPQL query. |
DefaultRefactoringTool |
This utility class provides basic refactoring support.
|
DefaultResolverBuilder |
The default implementation of a
ResolverBuilder , which follows the JPA functional specification. |
DefaultSemanticValidator |
This validator is responsible to gather the problems found in a JPQL query by validating the
content to make sure it is semantically valid.
|
DefaultTextEdit |
The default implementation of a
Text , which contains the location of the change within
the JPQL query (offset) and the old and new values. |
EclipseLinkBasicRefactoringTool |
This utility class provides basic refactoring support.
|
EclipseLinkContentAssistVisitor |
This extension over the default content assist visitor adds the additional support EclipseLink
provides.
|
EclipseLinkDeclarationResolver |
The EclipseLink implementation of
DeclarationResolver that adds support for its
additional support. |
EclipseLinkGrammarValidator |
This validator adds EclipseLink extension over what the JPA functional specification had defined.
|
EclipseLinkJPQLQueryContext |
This context is used to store information related to the JPQL query.
|
EclipseLinkJPQLQueryHelper |
This helper can perform the following operations over a JPQL query:
Calculates the result type of a query:
AbstractJPQLQueryHelper.getResultType() ;
Calculates the type of an input parameter: AbstractJPQLQueryHelper.getParameterType(String) .
Calculates the possible choices to complete the query from a given
position (used for content assist): AbstractJPQLQueryHelper.buildContentAssistProposals(int) .
Validates the query by introspecting it grammatically and semantically:
AbstractJPQLQueryHelper.validate() ,
AbstractJPQLQueryHelper.validateGrammar() ,
AbstractJPQLQueryHelper.validateSemantic() .
This helper should be used when the JPQL query is written using the JPQL grammar defined in the
Java Persistence functional specification 2.1 and it contains the additional support provided by
EclipseLink. |
EclipseLinkLiteralVisitor |
This visitor traverses an
Expression
and retrieves the "literal" value. |
EclipseLinkParameterTypeVisitor |
TODO
|
EclipseLinkRefactoringTool |
This refactoring tool add support for EclipseLink specific extension over the default
implementation of JPQL defined in the Java Persistence functional specification.
|
EclipseLinkResolverBuilder |
An implementation of a
ResolverBuilder that adds support for EclipseLink extension. |
EclipseLinkSemanticValidator |
This validator is responsible to gather the problems found in a JPQL query by validating the
content to make sure it is semantically valid for EclipseLink.
|
EntityResolver |
This
Resolver retrieves the type for an abstract schema name (entity name). |
EnumLiteralResolver |
This
Resolver retrieves the type for an enum constant. |
ExpressionTools |
A utility class containing various methods related to the Hermes parser.
|
FromSubqueryResolver |
This
Resolver wraps a subquery that is used as the "root" object in a query's declaration. |
GenericSemanticValidatorHelper |
An implementation of
SemanticValidatorHelper that uses JPQLQueryContext to return
the required information and Hermes SPI. |
GenericTypeHelper |
This generic implementation of
ITypeHelper wraps ITypeHelper and delegates the
calls to it. |
IdentificationVariableResolver |
This
Resolver is responsible to resolve the type of an identification variable. |
JPQLQueryContext |
This context is used to store information related to the JPQL query.
|
JPQLQueryProblemResourceBundle |
The resource bundle containing the problems encountered in a JPQL query.
|
KeyResolver |
This
Resolver is responsible to return the map key, which means that for identification
variables referring to an instance of an association or collection represented as a Map , the identification variable is of the abstract schema type of the map key. |
LiteralVisitor |
This visitor traverses an
Expression
and retrieves the "literal" value. |
NullResolver |
A "null" implementation of a
Resolver . |
NumericResolver | |
ParameterTypeVisitor |
This visitor's responsibility is to find the type of an input parameter.
|
RefactoringTool |
The abstract implementation providing refactoring support for JPQL queries.
|
Resolver |
A
Resolver is responsible to resolve a property by retrieving either the managed
type, the mapping, the type and the type declaration depending on the type of resolver. |
ResolverBuilder |
This visitor creates a
Resolver that gives information about the visited Expression . |
StateFieldResolver |
This
Resolver is responsible to resolve the type of a state field, which is the leaf of
the state field path expression. |
SubqueryEntityResolver |
This
Resolver retrieves the type for an abstract schema name (entity name) if it can
be resolved otherwise a derived path will be assumed. |
SumFunctionResolver |
This
Resolver is responsible to calculate the type based on the type of the state field. |
TreatResolver |
This
Resolver resolves a path and casts it as another entity type. |
TypeHelper |
This helper contains methods related to
IType and can perform equivalency checks. |
ValueResolver |
This
Resolver is responsible to return the map value, which means that for identification
variables referring to an instance of an association or collection represented as a Map , the identification variable is of the abstract schema type of the map value. |
WordParser |
This "parser/scanner" holds onto the string version of the JPQL query that is parsed into a
parsed tree.
|
Enum | Description |
---|---|
LiteralType |
Some
Expression can have a "literal",
this enumeration is used to visit an Expression and to retrieve the right value. |
WordParser.WordType |
This enumeration determines the type of word that was scanned.
|
Exception | Description |
---|---|
Assert.AssertException |
The exception thrown when the condition is not met.
|
EclipseLink 2.4.2, "build v20130514-5956486" API Reference