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
IJPQLQueryFormatteris used to generate a string representation of aStateObjectbased on how it was parsed, which means this formatter can only be used when theStateObjectwas created by parsing a JPQL query because it needs to retrieve parsing information from the correspondingExpression.This abstract implementation ofICaseExpressionStateObjectBuilderadds support for creating aCASEexpression.AbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>The abstract implementation ofIConditionalExpressionStateObjectBuilderthat 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 ofIJPQLQueryBuilderthat parses a JPQL query or any JPQL fragments and creates theStateObjectrepresentation by delegating the creation to an instance ofBasicStateObjectBuilder.The abstract definition of aIJPQLQueryFormatter, which converts anStateObjectinto 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 ofISimpleSelectExpressionStateObjectBuilderthat supports the creation of the select expression based on the JPQL grammar defined in JPA 2.0.The abstract definition of a builder of aStateObjecthierarchy based on a JPQL fragment that is manually created.An abstract implementation of aIJPQLQueryFormatter.The default implementation of aIBuilder, which creates aStateObjectrepresentation of theExpressionbeing visited.ThisIJPQLQueryFormatteris used to generate a string representation of aStateObjectbased on how it was parsed, which means this formatter can only be used when theStateObjectwas 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 ofIJPQLQueryBuilderthat provides support based on the latest release of the Java Persistence functional specification.An implementation ofIJPQLQueryBuilderthat 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 aStateObjectrepresentation of anyExpression.ThisIJPQLQueryFormatteris used to generate a string representation of aStateObjectbased on how it was parsed, which means this formatter can only be used when theStateObjectwas 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 ofIJPQLQueryBuilderthat provides support based on the release of the Java Persistence functional specification defined in JSR-337 - Java Persistence 2.0.The default implementation of aIJPQLQueryFormatterthat 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 aCASEexpression.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 editableStateObjectrepresentation of a JPQL query.AIJPQLQueryFormatterhelps 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.AIListChangeListenercan be registered with aStateObjectin 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.AIPropertyChangeListenercan be registered with aStateObjectin 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 ofIJPQLQueryBuilderthat provides support based on the Java Persistence functional specification defined in JSR-220 - Enterprise JavaBeans 3.0.An implementation ofIJPQLQueryBuilderthat provides support based on the Java Persistence functional specification defined in JSR-337 - Java Persistence 2.0.An implementation ofIJPQLQueryBuilderthat 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 ofIListChangeListenerwhere 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 ofIPropertyChangeEventwhere the generics is the type of the old and new values.