Uses of Enum
org.eclipse.persistence.jpa.jpql.JPAVersion
Package
Description
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.
This is the core of Hermes, this package contains the classes that can parse a JPQL query.
-
Uses of JPAVersion in org.eclipse.persistence.jpa.jpql
Modifier and TypeMethodDescriptionprotected JPAVersion
AbstractValidator.getJPAVersion()
Returns the version of the Java Persistence this entity for which it was defined.JPAVersion.toCurrentVersion()
Converts the current constant to one of the known versions, this means if the constant isDEFAULT_VERSION
, then it will be converted into the actual constant representing that version.static JPAVersion
Retrieves the enumeration constant for the given value.static JPAVersion
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 ofJPAVersion
excludingDEFAULT_VERSION
.Modifier and TypeMethodDescriptionprotected final 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.isNewerThan
(JPAVersion version) Determines whether this constant represents a version that is newer than the given version.protected final 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.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 final 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.isOlderThan
(JPAVersion version) Determines whether this constant represents a version that is older than the given version.protected final 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.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. -
Uses of JPAVersion in org.eclipse.persistence.jpa.jpql.parser
Modifier and TypeMethodDescriptionAbstractExpression.getIdentifierVersion
(String identifier) Retrieves the JPA version in which the identifier was first introduced.ExpressionRegistry.getIdentifierVersion
(String identifier) Retrieves the JPA version in which the identifier was first introduced.protected JPAVersion
AbstractExpression.getJPAVersion()
Returns the version of the Java Persistence to support.DefaultEclipseLinkJPQLGrammar.getJPAVersion()
DefaultJPQLGrammar.getJPAVersion()
EclipseLinkJPQLGrammar1.getJPAVersion()
EclipseLinkJPQLGrammar2_0.getJPAVersion()
EclipseLinkJPQLGrammar2_1.getJPAVersion()
EclipseLinkJPQLGrammar2_2.getJPAVersion()
EclipseLinkJPQLGrammar2_3.getJPAVersion()
EclipseLinkJPQLGrammar2_4.getJPAVersion()
EclipseLinkJPQLGrammar2_5.getJPAVersion()
EclipseLinkJPQLGrammar2_6.getJPAVersion()
EclipseLinkJPQLGrammar4_0.getJPAVersion()
JPQLExpression.getJPAVersion()
JPQLGrammar.getJPAVersion()
Returns theJPAVersion
of the Java Persistence supported by this grammar.JPQLGrammar1_0.getJPAVersion()
JPQLGrammar2_0.getJPAVersion()
JPQLGrammar2_1.getJPAVersion()
JPQLGrammar2_2.getJPAVersion()
JPQLGrammar3_0.getJPAVersion()
JPQLGrammar3_1.getJPAVersion()
Modifier and TypeMethodDescriptionprotected void
AbstractJPQLGrammar.registerIdentifierVersion
(String identifier, JPAVersion version) Registers theJPAVersion
for which the given JPQL identifier was defined.void
ExpressionRegistry.registerIdentifierVersion
(String identifier, JPAVersion version) Registers theJPAVersion
for which the given JPQL identifier was defined. -
Uses of JPAVersion in org.eclipse.persistence.jpa.jpql.tools
Modifier and TypeMethodDescriptionJPQLQueryContext.getJPAVersion()
Returns the version of the Java Persistence to support, which dictates which version of the JPQL grammar to support.