Package org.eclipse.persistence.jpa.jpql.tools.model
package org.eclipse.persistence.jpa.jpql.tools.model
The classes defined in this package define the state model API, a state model can be used to
manually or programmatically create and edit a JPQL query.
-
ClassDescriptionThis
IJPQLQueryFormatter
is used to generate a string representation of aStateObject
based on how it was parsed, which means this formatter can only be used when theStateObject
was created by parsing a JPQL query because it needs to retrieve parsing information from the correspondingExpression
.This abstract implementation ofICaseExpressionStateObjectBuilder
adds support for creating aCASE
expression.AbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>The abstract implementation ofIConditionalExpressionStateObjectBuilder
that supports the creation of the conditional expression based on the JPQL grammar defined in JPA 2.0.This builder wraps another builder and delegates the calls to it.An abstract implementation ofIJPQLQueryBuilder
that parses a JPQL query or any JPQL fragments and creates theStateObject
representation by delegating the creation to an instance ofBasicStateObjectBuilder
.The abstract definition of aIJPQLQueryFormatter
, which converts anStateObject
into its string representation that can be used as a real JPQL query.This abstract definition of a builder provides the support for creating expressions defined by ascalar expression
.The abstract implementation ofISimpleSelectExpressionStateObjectBuilder
that supports the creation of the select expression based on the JPQL grammar defined in JPA 2.0.The abstract definition of a builder of aStateObject
hierarchy based on a JPQL fragment that is manually created.An abstract implementation of aIJPQLQueryFormatter
.The default implementation of aIBuilder
, which creates aStateObject
representation of theExpression
being visited.ThisIJPQLQueryFormatter
is used to generate a string representation of aStateObject
based on how it was parsed, which means this formatter can only be used when theStateObject
was created by parsing a JPQL query because it needs to retrieve parsing information from the correspondingExpression
.The default implementation of aICaseExpressionStateObjectBuilder
.The default implementation ofIConditionalExpressionStateObjectBuilder
.An implementation ofIJPQLQueryBuilder
that provides support based on the latest release of the Java Persistence functional specification.An implementation ofIJPQLQueryBuilder
that provides support based on the latest release of the Java Persistence functional specification.The default implementation of aIJPQLQueryFormatter
, which support creating a string representation of a JPQL query written for JPA 1.0 and 2.0.The default implementation ofINewValueStateObjectBuilder
.The default implementation ofProblem
.The default implementation ofBasicStateObjectBuilder
, which provides support for creating aStateObject
representation of anyExpression
.ThisIJPQLQueryFormatter
is used to generate a string representation of aStateObject
based on how it was parsed, which means this formatter can only be used when theStateObject
was created by parsing a JPQL query because it needs to retrieve parsing information from the correspondingExpression
.The EclipseLink extension over the basic support provided byIConditionalExpressionStateObjectBuilder
.An implementation ofIJPQLQueryBuilder
that provides support based on the release of the Java Persistence functional specification defined in JSR-337 - Java Persistence 2.0.The default implementation of aIJPQLQueryFormatter
that adds support for formatting EclipseLink specific JPQL identifiers.The default implementation ofBasicStateObjectBuilder
, which provides support based on the JPQL grammar defined in the Java Persistence functional specification and for the additional support provided by EclipseLink.This builder is used byBasicStateObjectBuilder
, which allows subclasses to easily change any internal builders used for properly creating the state model representation of a JPQL query.This builder is responsible to create aCASE
expression.This builder can be used to easily create a conditional expression without having to create each object manually.The EclipseLink extension over the basic support provided byIEclipseLinkConditionalStateObjectBuilder
.This builder is responsible to create an editableStateObject
representation of a JPQL query.AIJPQLQueryFormatter
helps to write a string representation of aStateObject
.This enumeration determines how the JPQL identifiers are formatted when written out.This is used in conjunction withIListChangeListener
.This enumeration lists the possible modification a list can have.AIListChangeListener
can be registered with aStateObject
in order to be notified when a list changes (items are added or removed from it or some items have been moved inside of that list).This is used in conjunction withIPropertyChangeListener
.AIPropertyChangeListener
can be registered with aStateObject
in order to be notified when the value of a property changes.This builder can be used to easily create a scalar expression without having to create each object manually.This builder can be used to easily create a select expression without having to create each object manually.This builder can be used to easily create a select expression defined for a subquery without having to create each object manually.An implementation ofIJPQLQueryBuilder
that provides support based on the Java Persistence functional specification defined in JSR-220 - Enterprise JavaBeans 3.0.An implementation ofIJPQLQueryBuilder
that provides support based on the Java Persistence functional specification defined in JSR-337 - Java Persistence 2.0.An implementation ofIJPQLQueryBuilder
that provides support based on the Java Persistence functional specification defined in JSR-338 - Java Persistence 2.1.This builder wraps another builder and simply delegates the calls to it.The default implementation ofIListChangeListener
where the generics is the type of the items.A problem describes an issue found in a JPQL query because it is either grammatically or semantically incorrect.The default implementation ofIPropertyChangeEvent
where the generics is the type of the old and new values.