| com.triactive.jdo.store.SetStore
All known Subclasses: com.triactive.jdo.store.AbstractSetStore,
SetStore | public interface SetStore (Code) | | Implements the backing store for a Set field.
Different implementations of SetStore employ different techniques for
modeling the Java concept of a Set in a relational data store.
Individual instances of SetStore are responsible for managing the storage
for some Java class's Collection or Set field across all instances of that
class.
author: Mike Martin version: $Revision: 1.4 $ |
Method Summary | |
boolean | add(StateManager sm, Object element) | boolean | addAll(StateManager sm, Collection elements) | boolean | allowsNulls() | void | clear(StateManager sm) | boolean | contains(StateManager sm, Object element) | Class | getElementType() | QueryStatement | getExistsSubquery(QueryStatement.QueryColumn ownerIDColumn, SQLIdentifier setRangeVar) Create a subquery for the given query that joins a SetStore s
element table to the owner table. | StoreManager | getStoreManager() | boolean | isEmpty(StateManager sm) | QueryStatement.QueryColumn | joinElementsTo(QueryStatement stmt, QueryStatement.QueryColumn ownerIDColumn, SQLIdentifier setRangeVar, Class filteredElementType, SQLIdentifier elementRangeVar) | Collection | load(StateManager sm) | QueryStatement | newQueryStatement(StateManager sm, Class candidateClass) | Query.ResultObjectFactory | newResultObjectFactory(StateManager sm, QueryStatement stmt) | boolean | remove(StateManager sm, Object element) | int | size(StateManager sm) |
allowsNulls | boolean allowsNulls()(Code) | | |
getExistsSubquery | QueryStatement getExistsSubquery(QueryStatement.QueryColumn ownerIDColumn, SQLIdentifier setRangeVar)(Code) | | Create a subquery for the given query that joins a SetStore s
element table to the owner table. This subquery can subsequently be used
in an EXISTS expression to determine whether a Set is empty or not.
Parameters: ownerIDColumn - The QueryColumn of the owner ID. Parameters: setRangeVar - The range variable for the "Set" table. A subquery for the given query that joins a SetStore selement table to the owner table. |
|
|