Uses of Package
org.eclipse.persistence.jpa.jpql.tools.model
Package
Description
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.
This package contains the
StateObject
classes that represents a JPQL query.-
ClassDescriptionThis builder is responsible to create an editable
StateObject
representation of a JPQL query.AIJPQLQueryFormatter
helps to write a string representation of aStateObject
. -
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.The abstract implementation ofIConditionalExpressionStateObjectBuilder
that supports the creation of the conditional expression based on the JPQL grammar defined in JPA 2.0.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.This builder is responsible to create a new identification variable declaration and to add it to the state object representing theFROM
clause.The abstract definition of the builder that is responsible to create theStateObject
representation of theSELECT
statement.The default implementation ofIConditionalExpressionStateObjectBuilder
.The default implementation ofBasicStateObjectBuilder
, which provides support for creating aStateObject
representation of anyExpression
.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.This is used in conjunction withIPropertyChangeListener
.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.This builder wraps another builder and simply delegates the calls to it.A problem describes an issue found in a JPQL query because it is either grammatically or semantically incorrect. -
ClassDescriptionThis builder can be used to easily create a conditional expression without having to create each object manually.This builder is responsible to create an editable
StateObject
representation of a JPQL query.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).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 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.A problem describes an issue found in a JPQL query because it is either grammatically or semantically incorrect.