Top Description Interfaces Classes
module org.eclipse.persistence.jpa.jpql

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

Modifier and TypeInterface and Description
public interface
public interface
IBuilder<T extends StateObject, S extends StateObject>

This builder is used by BasicStateObjectBuilder, which allows subclasses to easily change any internal builders used for properly creating the state model representation of a JPQL query.

public interface
ICaseExpressionStateObjectBuilder

This builder is responsible to create a CASE expression.

public interface
IConditionalExpressionStateObjectBuilder

This builder can be used to easily create a conditional expression without having to create each object manually.

public interface
IEclipseLinkConditionalStateObjectBuilder

The EclipseLink extension over the basic support provided by IEclipseLinkConditionalStateObjectBuilder.

public interface
public interface
public interface
IJPQLQueryBuilder

This builder is responsible to create an editable StateObject representation of a JPQL query.

public interface
IJPQLQueryFormatter

A IJPQLQueryFormatter helps to write a string representation of a StateObject.

public interface
IListChangeEvent<T>

This is used in conjunction with IListChangeListener.

public interface
IListChangeListener<T>

A IListChangeListener can be registered with a StateObject 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).

public interface
public interface
IPropertyChangeEvent<T>

This is used in conjunction with IPropertyChangeListener.

public interface
IPropertyChangeListener<T>

A IPropertyChangeListener can be registered with a StateObject in order to be notified when the value of a property changes.

public interface
IScalarExpressionStateObjectBuilder<T extends IScalarExpressionStateObjectBuilder<T>>

This builder can be used to easily create a scalar expression without having to create each object manually.

public interface
ISelectExpressionStateObjectBuilder

This builder can be used to easily create a select expression without having to create each object manually.

public interface
ISimpleSelectExpressionStateObjectBuilder

This builder can be used to easily create a select expression defined for a subquery without having to create each object manually.

public interface
Problem

A problem describes an issue found in a JPQL query because it is either grammatically or semantically incorrect.

public interface

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractActualJPQLQueryFormatter

This IJPQLQueryFormatter is used to generate a string representation of a StateObject based on how it was parsed, which means this formatter can only be used when the StateObject was created by parsing a JPQL query because it needs to retrieve parsing information from the corresponding Expression.

public abstract class
AbstractCaseExpressionStateObjectBuilder

This abstract implementation of ICaseExpressionStateObjectBuilder adds support for creating a CASE expression.

public abstract class
AbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>

The abstract implementation of IConditionalExpressionStateObjectBuilder that supports the creation of the conditional expression based on the JPQL grammar defined in JPA 2.0.

public abstract class
AbstractConditionalStateObjectBuilderWrapper

This builder wraps another builder and delegates the calls to it.

public abstract class
public abstract class
public abstract class
AbstractJPQLQueryBuilder

An abstract implementation of IJPQLQueryBuilder that parses a JPQL query or any JPQL fragments and creates the StateObject representation by delegating the creation to an instance of BasicStateObjectBuilder.

public abstract class
AbstractJPQLQueryFormatter

The abstract definition of a IJPQLQueryFormatter, which converts an StateObject into its string representation that can be used as a real JPQL query.

public abstract class
public abstract class
AbstractScalarExpressionStateObjectBuilder<T extends IScalarExpressionStateObjectBuilder<T>>

This abstract definition of a builder provides the support for creating expressions defined by a scalar expression.

public abstract class
public abstract class
AbstractSimpleSelectExpressionStateObjectBuilder

The abstract implementation of ISimpleSelectExpressionStateObjectBuilder that supports the creation of the select expression based on the JPQL grammar defined in JPA 2.0.

public abstract class
AbstractStateObjectBuilder

The abstract definition of a builder of a StateObject hierarchy based on a JPQL fragment that is manually created.

public abstract class
BaseJPQLQueryFormatter

An abstract implementation of a IJPQLQueryFormatter.

public abstract class
BasicStateObjectBuilder

The default implementation of a IBuilder, which creates a StateObject representation of the Expression being visited.

public class
DefaultActualJPQLQueryFormatter

This IJPQLQueryFormatter is used to generate a string representation of a StateObject based on how it was parsed, which means this formatter can only be used when the StateObject was created by parsing a JPQL query because it needs to retrieve parsing information from the corresponding Expression.

public class
public class
public class
DefaultEclipseLinkJPQLQueryBuilder

An implementation of IJPQLQueryBuilder that provides support based on the latest release of the Java Persistence functional specification.

public class
DefaultJPQLQueryBuilder

An implementation of IJPQLQueryBuilder that provides support based on the latest release of the Java Persistence functional specification.

public class
DefaultJPQLQueryFormatter

The default implementation of a IJPQLQueryFormatter, which support creating a string representation of a JPQL query written for JPA 1.0 and 2.0.

public class
public class
DefaultProblem

The default implementation of Problem.

public class
public class
public class
DefaultStateObjectBuilder

The default implementation of BasicStateObjectBuilder, which provides support for creating a StateObject representation of any Expression.

public class
EclipseLinkActualJPQLQueryFormatter

This IJPQLQueryFormatter is used to generate a string representation of a StateObject based on how it was parsed, which means this formatter can only be used when the StateObject was created by parsing a JPQL query because it needs to retrieve parsing information from the corresponding Expression.

public class
EclipseLinkConditionalStateObjectBuilder

The EclipseLink extension over the basic support provided by IConditionalExpressionStateObjectBuilder.

public class
EclipseLinkJPQLQueryBuilder

An implementation of IJPQLQueryBuilder that provides support based on the release of the Java Persistence functional specification defined in JSR-337 - Java Persistence 2.0.

public class
EclipseLinkJPQLQueryFormatter

The default implementation of a IJPQLQueryFormatter that adds support for formatting EclipseLink specific JPQL identifiers.

public class
public class
public class
EclipseLinkStateObjectBuilder

The default implementation of BasicStateObjectBuilder, which provides support based on the JPQL grammar defined in the Java Persistence functional specification and for the additional support provided by EclipseLink.

public class
JPQLQueryBuilder1_0

An implementation of IJPQLQueryBuilder that provides support based on the Java Persistence functional specification defined in JSR-220 - Enterprise JavaBeans 3.0.

public class
JPQLQueryBuilder2_0

An implementation of IJPQLQueryBuilder that provides support based on the Java Persistence functional specification defined in JSR-337 - Java Persistence 2.0.

public class
JPQLQueryBuilder2_1

An implementation of IJPQLQueryBuilder that provides support based on the Java Persistence functional specification defined in JSR-338 - Java Persistence 2.1.

public abstract class
JPQLQueryBuilderWrapper

This builder wraps another builder and simply delegates the calls to it.

public class
ListChangeEvent<T>

The default implementation of IListChangeListener where the generics is the type of the items.

public class
PropertyChangeEvent<T>

The default implementation of IPropertyChangeEvent where the generics is the type of the old and new values.