Uses of Interface
org.eclipse.persistence.jpa.jpql.tools.model.query.ListHolderStateObject
Packages that use ListHolderStateObject
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.-
Uses of ListHolderStateObject in org.eclipse.persistence.jpa.jpql.tools.model
Methods in org.eclipse.persistence.jpa.jpql.tools.model with type parameters of type ListHolderStateObjectModifier and TypeMethodDescription<S extends ListHolderStateObject<? extends T>>
SIListChangeEvent.getSource()Returns the source where the modification occurred and that fired the event.<S extends ListHolderStateObject<? extends T>>
SListChangeEvent.getSource()Methods in org.eclipse.persistence.jpa.jpql.tools.model with parameters of type ListHolderStateObjectModifier and TypeMethodDescriptionprotected voidAbstractActualJPQLQueryFormatter.toStringChildren(ListHolderStateObject<? extends StateObject> stateObject, boolean comma) protected voidAbstractJPQLQueryFormatter.toStringChildren(ListHolderStateObject<? extends StateObject> stateObject, boolean comma) -
Uses of ListHolderStateObject in org.eclipse.persistence.jpa.jpql.tools.model.query
Classes in org.eclipse.persistence.jpa.jpql.tools.model.query that implement ListHolderStateObjectModifier and TypeClassDescriptionclassThis state object represents the abstract definition of aFROMclause, which is either theFROMclause of the query or of a sub-query expression.classclassAbstractListHolderStateObject<T extends StateObject>The abstraction definition of aStateObjectthat holds onto a list of children, the methods defined inListHolderStateObjectare automatically handled here.classAn identification variable followed by the navigation operator (.) and a state field or association field is a path expression.classACASEpredicate is used to calculate a condition and when it'strue, itsTHENexpression will be executed.classACOALESCEexpression returnsnullif all its arguments evaluate tonull, and the value of the first non-nullargument otherwise.classA 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.classTheCONCATfunction returns a string that is a concatenation of its arguments.classIn theSELECTclause a constructor may be used in theSELECTlist to return one or more Java instances.classclassTheFROMclause of a query defines the domain of the query by declaring identification variables.classclassTheGROUP BYconstruct enables the aggregation of values according to the properties of an entity class.classAn identification variable is a valid identifier declared in theFROMclause of a query.classThe state field path expression must have a string, numeric, or enum value.classTheORDER BYclause allows the objects or values that are returned by the query to be ordered.classTheSELECTstatement queries data from entities, which determines the type of the objects or values to be selected.classTheFROMclause of a sub-query defines the domain of the sub-query by declaring identification variables.classA single-valued association field is designated by the name of an association-field in a one-to-one or many-to-one relationship.classThis is theUPDATEclause of theUPDATEstatement.Methods in org.eclipse.persistence.jpa.jpql.tools.model.query with parameters of type ListHolderStateObjectModifier and TypeMethodDescription<T> voidChangeSupport.addItem(ListHolderStateObject<T> source, List<T> items, String listName, T item) Adds the given item as a child to the given list.<T> voidChangeSupport.addItems(ListHolderStateObject<T> source, List<T> list, String listName, List<? extends T> items) Adds the given items as children to the given list.<T> voidChangeSupport.moveDown(ListHolderStateObject<T> source, List<T> items, String listName, T item) Moves the givenStateObjectdown by one position in the list owned by its parent.protected <T> voidChangeSupport.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> voidChangeSupport.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> voidChangeSupport.removeItem(ListHolderStateObject<T> source, List<T> items, String listName, T item) Removes the given item from the list of children.<T> voidChangeSupport.removeItems(ListHolderStateObject<T> source, List<? extends T> list, String listName, Collection<? extends T> items) Removes the given items from the list of children.<T> voidChangeSupport.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> voidChangeSupport.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.