| Package | Description |
|---|---|
| org.eclipse.persistence.jpa.jpql |
This package contains the Hermes features (except the parser itself): semantic and grammatical
validations, content assist support, calculating the query result type or the possible type of
an input parameter, refactoring tools.
|
| org.eclipse.persistence.jpa.jpql.parser |
This is the core of Hermes, this package contains the classes that can parse a JPQL query.
|
| org.eclipse.persistence.jpa.jpql.tools | |
| org.eclipse.persistence.jpa.jpql.tools.model.query |
This package contains the
StateObject classes that represents a JPQL query. |
| org.eclipse.persistence.jpa.jpql.tools.resolver |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractGrammarValidator.validatePathExpression(AbstractPathExpression expression) |
protected void |
LiteralVisitor.visitAbstractPathExpression(AbstractPathExpression expression) |
| Modifier and Type | Class and Description |
|---|---|
class |
CollectionValuedPathExpression
A
collection_valued_field is designated by the name of an association field in a
one-to-many or a many-to-many relationship or by the name of an element collection field. |
class |
StateFieldPathExpression
A
single_valued_association_field is designated by the name of an association-field
in a one-to-one or many-to-one relationship. |
| Modifier and Type | Field and Description |
|---|---|
protected AbstractPathExpression |
AbstractContentAssistVisitor.EnumVisitor.pathExpression
The
AbstractPathExpression being scanned for its location within the JPQL query. |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractContentAssistVisitor.FilteringMappingCollector |
AbstractContentAssistVisitor.buildFilteringMappingCollector(AbstractPathExpression expression,
Resolver resolver,
Filter<IMapping> filter,
String pattern) |
protected AbstractContentAssistVisitor.MappingCollector |
AbstractContentAssistVisitor.buildMappingCollector(AbstractPathExpression expression,
Resolver resolver,
Filter<IMapping> filter) |
protected Filter<IMapping> |
AbstractContentAssistVisitor.buildMappingFilter(AbstractPathExpression expression,
Filter<IMapping> filter) |
protected boolean |
AbstractContentAssistVisitor.isDeclaration(AbstractPathExpression expression)
Determines whether the given
AbstractPathExpression is found within a declaration expression. |
protected boolean |
AbstractContentAssistVisitor.isEnumAllowed(AbstractPathExpression expression)
Determines whether the given
AbstractPathExpression could potentially represent a
fully qualified enum constant, which is dictated by the location of the path expression within
the query. |
protected void |
BasicRefactoringTool.AttributeNameRenamer.rename(AbstractPathExpression expression)
Performs the rename on the path expression.
|
protected void |
BasicRefactoringTool.EnumConstantRenamer.renameEnumConstant(AbstractPathExpression expression) |
protected void |
AbstractContentAssistVisitor.visitEnumConstant(AbstractPathExpression expression) |
protected void |
AbstractContentAssistVisitor.visitPathExpression(AbstractPathExpression expression)
Visits the given
AbstractPathExpression and attempts to find valid proposals. |
protected void |
AbstractContentAssistVisitor.visitPathExpression(AbstractPathExpression expression,
Filter<IMapping> filter)
Visits the given
AbstractPathExpression by attempting to resolve the path. |
protected void |
EclipseLinkContentAssistVisitor.visitThirdPartyPathExpression(AbstractPathExpression expression,
String variableName)
Visits the given
AbstractPathExpression and attempts to find valid proposals that is
not provided by the default implementation. |
protected void |
AbstractContentAssistVisitor.visitThirdPartyPathExpression(AbstractPathExpression expression,
String variableName)
Visits the given
AbstractPathExpression and attempts to find valid proposals that is
not provided by the default implementation. |
| Modifier and Type | Method and Description |
|---|---|
AbstractPathExpression |
EnumTypeStateObject.getExpression()
Returns the actual parsed object if this
StateObject representation of the JPQL query
was created by parsing an existing JPQL query. |
AbstractPathExpression |
AbstractPathExpressionStateObject.getExpression()
Returns the actual parsed object if this
StateObject representation of the JPQL query
was created by parsing an existing JPQL query. |
| Modifier and Type | Method and Description |
|---|---|
void |
EnumTypeStateObject.setExpression(AbstractPathExpression expression)
Keeps a reference of the
parsed object object, which should
only be done when this object is instantiated during the conversion of a parsed JPQL query
into StateObjects. |
| Modifier and Type | Method and Description |
|---|---|
protected Resolver |
ResolverBuilder.buildEnumResolver(AbstractPathExpression expression,
IType type,
String enumLiteral)
Creates a new
Resolver that will resolve the given enum literal. |
Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.