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.
-
Interface Summary Interface Description IAbstractConditionalExpressionStateObjectBuilder<T extends IScalarExpressionStateObjectBuilder<T>> IBuilder<T extends StateObject,S extends StateObject> 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.ICaseExpressionStateObjectBuilder This builder is responsible to create aCASE
expression.IConditionalExpressionStateObjectBuilder This builder can be used to easily create a conditional expression without having to create each object manually.IEclipseLinkConditionalStateObjectBuilder The EclipseLink extension over the basic support provided byIEclipseLinkConditionalStateObjectBuilder
.IEclipseLinkSelectExpressionStateObjectBuilder IEclipseLinkSimpleSelectExpressionStateObjectBuilder IJPQLQueryBuilder This builder is responsible to create an editableStateObject
representation of a JPQL query.IJPQLQueryFormatter AIJPQLQueryFormatter
helps to write a string representation of aStateObject
.IListChangeEvent<T> This is used in conjunction withIListChangeListener
.IListChangeListener<T> 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).INewValueStateObjectBuilder IPropertyChangeEvent<T> This is used in conjunction withIPropertyChangeListener
.IPropertyChangeListener<T> AIPropertyChangeListener
can be registered with aStateObject
in order to be notified when the value of a property changes.IScalarExpressionStateObjectBuilder<T extends IScalarExpressionStateObjectBuilder<T>> This builder can be used to easily create a scalar expression without having to create each object manually.ISelectExpressionStateObjectBuilder This builder can be used to easily create a select expression without having to create each object manually.ISimpleSelectExpressionStateObjectBuilder This builder can be used to easily create a select expression defined for a subquery without having to create each object manually.Problem A problem describes an issue found in a JPQL query because it is either grammatically or semantically incorrect.StateObjectProblemConstants -
Class Summary Class Description AbstractActualJPQLQueryFormatter 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
.AbstractCaseExpressionStateObjectBuilder 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.AbstractConditionalStateObjectBuilderWrapper This builder wraps another builder and delegates the calls to it.AbstractEclipseLinkSelectExpressionStateObjectBuilder AbstractEclipseLinkSimpleSelectExpressionStateObjectBuilder AbstractJPQLQueryBuilder 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
.AbstractJPQLQueryFormatter The abstract definition of aIJPQLQueryFormatter
, which converts anStateObject
into its string representation that can be used as a real JPQL query.AbstractNewValueStateObjectBuilder AbstractScalarExpressionStateObjectBuilder<T extends IScalarExpressionStateObjectBuilder<T>> This abstract definition of a builder provides the support for creating expressions defined by ascalar expression
.AbstractSelectExpressionStateObjectBuilder AbstractSimpleSelectExpressionStateObjectBuilder The abstract implementation ofISimpleSelectExpressionStateObjectBuilder
that supports the creation of the select expression based on the JPQL grammar defined in JPA 2.0.AbstractStateObjectBuilder The abstract definition of a builder of aStateObject
hierarchy based on a JPQL fragment that is manually created.BaseJPQLQueryFormatter An abstract implementation of aIJPQLQueryFormatter
.BasicStateObjectBuilder The default implementation of aIBuilder
, which creates aStateObject
representation of theExpression
being visited.BasicStateObjectBuilder.CollectionExpressionVisitor BasicStateObjectBuilder.CollectionMemberDeclarationBuilder DefaultActualJPQLQueryFormatter 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
.DefaultCaseExpressionStateObjectBuilder The default implementation of aICaseExpressionStateObjectBuilder
.DefaultConditionalExpressionStateObjectBuilder The default implementation ofIConditionalExpressionStateObjectBuilder
.DefaultEclipseLinkJPQLQueryBuilder An implementation ofIJPQLQueryBuilder
that provides support based on the latest release of the Java Persistence functional specification.DefaultJPQLQueryBuilder An implementation ofIJPQLQueryBuilder
that provides support based on the latest release of the Java Persistence functional specification.DefaultJPQLQueryFormatter The default implementation of aIJPQLQueryFormatter
, which support creating a string representation of a JPQL query written for JPA 1.0 and 2.0.DefaultNewValueStateObjectBuilder The default implementation ofINewValueStateObjectBuilder
.DefaultProblem The default implementation ofProblem
.DefaultSelectExpressionStateObjectBuilder DefaultSimpleSelectExpressionStateObjectBuilder DefaultStateObjectBuilder The default implementation ofBasicStateObjectBuilder
, which provides support for creating aStateObject
representation of anyExpression
.EclipseLinkActualJPQLQueryFormatter 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
.EclipseLinkConditionalStateObjectBuilder The EclipseLink extension over the basic support provided byIConditionalExpressionStateObjectBuilder
.EclipseLinkJPQLQueryBuilder An implementation ofIJPQLQueryBuilder
that provides support based on the release of the Java Persistence functional specification defined in JSR-337 - Java Persistence 2.0.EclipseLinkJPQLQueryFormatter The default implementation of aIJPQLQueryFormatter
that adds support for formatting EclipseLink specific JPQL identifiers.EclipseLinkSelectExpressionStateObjectBuilder EclipseLinkSimpleSelectExpressionStateObjectBuilder EclipseLinkStateObjectBuilder 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.JPQLQueryBuilder1_0 An implementation ofIJPQLQueryBuilder
that provides support based on the Java Persistence functional specification defined in JSR-220 - Enterprise JavaBeans 3.0.JPQLQueryBuilder2_0 An implementation ofIJPQLQueryBuilder
that provides support based on the Java Persistence functional specification defined in JSR-337 - Java Persistence 2.0.JPQLQueryBuilder2_1 An implementation ofIJPQLQueryBuilder
that provides support based on the Java Persistence functional specification defined in JSR-338 - Java Persistence 2.1.JPQLQueryBuilderWrapper This builder wraps another builder and simply delegates the calls to it.ListChangeEvent<T> The default implementation ofIListChangeListener
where the generics is the type of the items.PropertyChangeEvent<T> The default implementation ofIPropertyChangeEvent
where the generics is the type of the old and new values. -
Enum Summary Enum Description IJPQLQueryFormatter.IdentifierStyle This enumeration determines how the JPQL identifiers are formatted when written out.IListChangeEvent.EventType This enumeration lists the possible modification a list can have.