| 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 |
| Modifier and Type | Method and Description |
|---|---|
protected JPAVersion |
AbstractValidator.getJPAVersion()
Returns the version of the Java Persistence this entity for which it was defined.
|
JPAVersion |
JPAVersion.toCurrentVersion()
Converts the current constant to one of the known versions, this means if the constant is
DEFAULT_VERSION, then it will be converted into the actual constant representing that
version. |
static JPAVersion |
JPAVersion.value(String value)
Retrieves the enumeration constant for the given value.
|
static JPAVersion |
JPAVersion.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JPAVersion[] |
JPAVersion.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static JPAVersion[] |
JPAVersion.versions()
Returns the list of
JPAVersion excluding DEFAULT_VERSION. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
JPAVersion.isNewerThan(JPAVersion version)
Determines whether this constant represents a version that is newer than the given version.
|
protected boolean |
AbstractGrammarValidator.isNewerThan(JPAVersion version)
Determines whether the JPA version for which the JPQL grammar was defined represents a version
that is newer than the given version.
|
boolean |
JPAVersion.isNewerThanOrEqual(JPAVersion version)
Determines whether this constant represents a version that is newer than the given version or
if it's the same version.
|
protected boolean |
AbstractGrammarValidator.isNewerThanOrEqual(JPAVersion version)
Determines whether the JPA version for which the JPQL grammar was defined represents a version
that is newer than the given version or if it's the same version.
|
boolean |
JPAVersion.isOlderThan(JPAVersion version)
Determines whether this constant represents a version that is older than the given version.
|
protected boolean |
AbstractGrammarValidator.isOlderThan(JPAVersion version)
Determines whether the JPA version for which the JPQL grammar was defined represents a version
that is older than the given version.
|
boolean |
JPAVersion.isOlderThanOrEqual(JPAVersion version)
Determines whether this constant represents a version that is older than the given version or
if it's the same version.
|
protected boolean |
AbstractGrammarValidator.isOlderThanOrEqual(JPAVersion version)
Determines whether the JPA version for which the JPQL grammar was defined represents a version
that is older than the given version or if it's the same version.
|
| Modifier and Type | Method and Description |
|---|---|
JPAVersion |
ExpressionRegistry.getIdentifierVersion(String identifier)
Retrieves the JPA version in which the identifier was first introduced.
|
JPAVersion |
AbstractExpression.getIdentifierVersion(String identifier)
Retrieves the JPA version in which the identifier was first introduced.
|
JPAVersion |
JPQLGrammar2_1.getJPAVersion()
Returns the
JPAVersion of the Java Persistence supported by this grammar. |
JPAVersion |
JPQLGrammar2_0.getJPAVersion()
Returns the
JPAVersion of the Java Persistence supported by this grammar. |
JPAVersion |
JPQLGrammar1_0.getJPAVersion()
Returns the
JPAVersion of the Java Persistence supported by this grammar. |
JPAVersion |
JPQLGrammar.getJPAVersion()
Returns the
JPAVersion of the Java Persistence supported by this grammar. |
JPAVersion |
JPQLExpression.getJPAVersion()
Returns the version of the Java Persistence to support.
|
JPAVersion |
EclipseLinkJPQLGrammar2_6.getJPAVersion()
Returns the
JPAVersion of the Java Persistence supported by this grammar. |
JPAVersion |
EclipseLinkJPQLGrammar2_5.getJPAVersion()
Returns the
JPAVersion of the Java Persistence supported by this grammar. |
JPAVersion |
EclipseLinkJPQLGrammar2_4.getJPAVersion()
Returns the
JPAVersion of the Java Persistence supported by this grammar. |
JPAVersion |
EclipseLinkJPQLGrammar2_3.getJPAVersion()
Returns the
JPAVersion of the Java Persistence supported by this grammar. |
JPAVersion |
EclipseLinkJPQLGrammar2_2.getJPAVersion()
Returns the
JPAVersion of the Java Persistence supported by this grammar. |
JPAVersion |
EclipseLinkJPQLGrammar2_1.getJPAVersion()
Returns the
JPAVersion of the Java Persistence supported by this grammar. |
JPAVersion |
EclipseLinkJPQLGrammar2_0.getJPAVersion()
Returns the
JPAVersion of the Java Persistence supported by this grammar. |
JPAVersion |
EclipseLinkJPQLGrammar1.getJPAVersion()
Returns the
JPAVersion of the Java Persistence supported by this grammar. |
JPAVersion |
DefaultJPQLGrammar.getJPAVersion()
Returns the
JPAVersion of the Java Persistence supported by this grammar. |
JPAVersion |
DefaultEclipseLinkJPQLGrammar.getJPAVersion()
Returns the
JPAVersion of the Java Persistence supported by this grammar. |
protected JPAVersion |
AbstractExpression.getJPAVersion()
Returns the version of the Java Persistence to support.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ExpressionRegistry.registerIdentifierVersion(String identifier,
JPAVersion version)
Registers the
JPAVersion for which the given JPQL identifier was defined. |
protected void |
AbstractJPQLGrammar.registerIdentifierVersion(String identifier,
JPAVersion version)
Registers the
JPAVersion for which the given JPQL identifier was defined. |
| Modifier and Type | Method and Description |
|---|---|
JPAVersion |
JPQLQueryContext.getJPAVersion()
Returns the version of the Java Persistence to support, which dictates which version of the
JPQL grammar to support.
|
Copyright © 2007–2020 Eclipse.org - EclipseLink Project. All rights reserved.