| org.jpox.store.scostore.ArrayStore
ArrayStore | public interface ArrayStore extends Store(Code) | | Interface representation of the backing store for an array.
version: $Revision: 1.4 $ |
Method Summary | |
void | clear(StateManager ownerSM) Method to clear the array.
Parameters: ownerSM - State Manager for the owner. | List | getArray(StateManager ownerSM) Method to retrieve the elements of the array. | String | getElementType() Accessor for the element type in the collection. | QueryExpression | getExistsSubquery(QueryExpression stmt, JavaTypeMapping ownerMapping, LogicSetExpression ownerTe, DatastoreIdentifier collRangeVar) Create a subquery for the given query that joins a SetStore
element table to the owner table. | QueryExpression | getSizeSubquery(QueryExpression stmt, JavaTypeMapping ownerMapping, LogicSetExpression ownerTe, DatastoreIdentifier collRangeVar) Create a subquery for the size of the collection. | Iterator | iterator(StateManager sm) Accessor for an iterator for the array.
Parameters: sm - State Manager for the array. | ScalarExpression | joinElementsTo(QueryExpression stmt, QueryExpression parentStmt, JavaTypeMapping ownerMapping, LogicSetExpression ownerTe, DatastoreIdentifier collRangeVar, Class filteredElementType, ScalarExpression elmExpr, DatastoreIdentifier elementRangeVar) Method used in queries when contains() has been invoked.
Parameters: stmt - The Query Statement Parameters: parentStmt - the parent Query Statement. | boolean | set(StateManager ownerSM, Object array) Method to set the elements in the array. | int | size(StateManager sm) Accessor for the size of the array.
Parameters: sm - State Manager for the owner. |
clear | void clear(StateManager ownerSM)(Code) | | Method to clear the array.
Parameters: ownerSM - State Manager for the owner. |
getArray | List getArray(StateManager ownerSM)(Code) | | Method to retrieve the elements of the array.
Parameters: ownerSM - State Manager of the owner The List of elements in the array (in the same order) |
getElementType | String getElementType()(Code) | | Accessor for the element type in the collection.
The element type. |
getExistsSubquery | QueryExpression getExistsSubquery(QueryExpression stmt, JavaTypeMapping ownerMapping, LogicSetExpression ownerTe, DatastoreIdentifier collRangeVar)(Code) | | Create a subquery for the given query that joins a SetStore
element table to the owner table. This subquery can subsequently be used
in an EXISTS expression to determine whether a Collection is empty.
Parameters: stmt - The Query Statement. Parameters: ownerMapping - the mapping for the owner. Parameters: ownerTe - Table Expression for the owner Parameters: collRangeVar - The range variable for the "Collection" table. A subquery for the given query that joins a SetStoreelement table to the owner table. |
iterator | Iterator iterator(StateManager sm)(Code) | | Accessor for an iterator for the array.
Parameters: sm - State Manager for the array. Iterator for the array. |
joinElementsTo | ScalarExpression joinElementsTo(QueryExpression stmt, QueryExpression parentStmt, JavaTypeMapping ownerMapping, LogicSetExpression ownerTe, DatastoreIdentifier collRangeVar, Class filteredElementType, ScalarExpression elmExpr, DatastoreIdentifier elementRangeVar)(Code) | | Method used in queries when contains() has been invoked.
Parameters: stmt - The Query Statement Parameters: parentStmt - the parent Query Statement. If there is no parent, parentStmt must be equals to stmt Parameters: ownerMapping - the mapping for the owner. Parameters: ownerTe - Table Expression for the owner Parameters: collRangeVar - The range variable for the "Collection" table. Parameters: filteredElementType - The Class Type for the filtered element Parameters: elmExpr - The Expression for the element Parameters: elementRangeVar - The SQL alias, or "range variable", to assign to theexpression or to the element table. expression to the join |
set | boolean set(StateManager ownerSM, Object array)(Code) | | Method to set the elements in the array.
Parameters: ownerSM - State Manager for the owner. Parameters: array - The array Whether the elements were added ok |
size | int size(StateManager sm)(Code) | | Accessor for the size of the array.
Parameters: sm - State Manager for the owner. The size of the array. |
|
|