| Package | Description |
|---|---|
| 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.
|
| org.eclipse.persistence.jpa.jpql.tools.model.query |
This package contains the
StateObject classes that represents a JPQL query. |
| Modifier and Type | Method and Description |
|---|---|
<S extends ListHolderStateObject<? extends T>> |
ListChangeEvent.getSource()
Returns the source where the modification occurred and that fired the event.
|
<S extends ListHolderStateObject<? extends T>> |
IListChangeEvent.getSource()
Returns the source where the modification occurred and that fired the event.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractJPQLQueryFormatter.toStringChildren(ListHolderStateObject<? extends StateObject> stateObject,
boolean comma) |
protected void |
AbstractActualJPQLQueryFormatter.toStringChildren(ListHolderStateObject<? extends StateObject> stateObject,
boolean comma) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractFromClauseStateObject
This state object represents the abstract definition of a
FROM clause, which
is either the FROM clause of the query or of a sub-query expression. |
class |
AbstractIdentificationVariableDeclarationStateObject |
class |
AbstractListHolderStateObject<T extends StateObject>
The abstraction definition of a
StateObject that holds onto a list of children, the
methods defined in ListHolderStateObject are automatically handled here. |
class |
AbstractPathExpressionStateObject
An identification variable followed by the navigation operator (.) and a state field or
association field is a path expression.
|
class |
CaseExpressionStateObject
A
CASE predicate is used to calculate a condition and when it's true,
its THEN expression will be executed. |
class |
CoalesceExpressionStateObject
A
COALESCE expression returns null if all its arguments evaluate
to null, and the value of the first non-null argument otherwise. |
class |
CollectionValuedPathExpressionStateObject
A collection-valued field is designated by the name of an association field in a one-to-many or a
many-to-many relationship or by the name of an element collection field.
|
class |
ConcatExpressionStateObject
The
CONCAT function returns a string that is a concatenation of its arguments. |
class |
ConstructorExpressionStateObject
In the
SELECT clause a constructor may be used in the SELECT
list to return one or more Java instances. |
class |
DerivedPathIdentificationVariableDeclarationStateObject |
class |
FromClauseStateObject
The
FROM clause of a query defines the domain of the query by declaring
identification variables. |
class |
FunctionExpressionStateObject |
class |
GroupByClauseStateObject
The
GROUP BY construct enables the aggregation of values according to the
properties of an entity class. |
class |
IdentificationVariableDeclarationStateObject
An identification variable is a valid identifier declared in the
FROM clause
of a query. |
class |
InExpressionStateObject
The state field path expression must have a string, numeric, or enum value.
|
class |
OrderByClauseStateObject
The
ORDER BY clause allows the objects or values that are returned by the
query to be ordered. |
class |
SelectClauseStateObject
The
SELECT statement queries data from entities, which determines the type of
the objects or values to be selected. |
class |
SimpleFromClauseStateObject
The
FROM clause of a sub-query defines the domain of the sub-query by
declaring identification variables. |
class |
StateFieldPathExpressionStateObject
A single-valued association field is designated by the name of an association-field in a
one-to-one or many-to-one relationship.
|
class |
UpdateClauseStateObject
This is the
UPDATE clause of the UPDATE statement. |
| Modifier and Type | Method and Description |
|---|---|
<T> void |
ChangeSupport.addItem(ListHolderStateObject<T> source,
List<T> items,
String listName,
T item)
Adds the given item as a child to the given list.
|
<T> void |
ChangeSupport.addItems(ListHolderStateObject<T> source,
List<T> list,
String listName,
List<? extends T> items)
Adds the given items as children to the given list.
|
<T> void |
ChangeSupport.moveDown(ListHolderStateObject<T> source,
List<T> items,
String listName,
T item)
Moves the given
StateObject down by one position in the list owned by its parent. |
protected <T> void |
ChangeSupport.moveItem(ListHolderStateObject<T> source,
List<T> items,
IListChangeEvent.EventType eventType,
String listName,
T item,
int oldIndex,
int newIndex)
Moves the given item from its current position to a new position in the list owned by its parent.
|
<T> void |
ChangeSupport.moveUp(ListHolderStateObject<T> source,
List<T> items,
String listName,
T item)
Moves the given item up by one position in the list owned by its parent.
|
<T> void |
ChangeSupport.removeItem(ListHolderStateObject<T> source,
List<T> items,
String listName,
T item)
Removes the given item from the list of children.
|
<T> void |
ChangeSupport.removeItems(ListHolderStateObject<T> source,
List<? extends T> list,
String listName,
Collection<? extends T> items)
Removes the given items from the list of children.
|
<T> void |
ChangeSupport.replaceItem(ListHolderStateObject<T> source,
List<T> items,
String listName,
int index,
T item)
Replaces the item at the given position by a new one.
|
<T> void |
ChangeSupport.replaceItems(ListHolderStateObject<T> source,
List<T> items,
String listName,
List<T> newItems)
Replaces the given list by removing any existing items and adding the items contained in the
second list.
|
Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.