|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jpox.store.query.AbstractIteratorStatement
public abstract class AbstractIteratorStatement
Abstract representation of a statement that is used for iterating through a list of objects of a class, possibly including subclasses.
| Field Summary | |
|---|---|
protected java.lang.String |
candidateFullClassName
full class name for the candidate class |
protected DatastoreClass |
candidateTable
Table where the candidate objects are stored. |
protected ClassLoaderResolver |
clr
ClassLoader resolver. |
protected DatastoreAdapter |
dba
Datastore adapter |
protected boolean |
includeSubclasses
Whether to include iteration through subclasses of the candidate. |
protected static Localiser |
LOCALISER
Localisation or messages. |
protected StoreManager |
storeMgr
Manager for the Store. |
| Constructor Summary | |
|---|---|
AbstractIteratorStatement(java.lang.Class type,
ClassLoaderResolver clr,
boolean subclasses,
StoreManager storeMgr)
Constructor. |
|
| Method Summary | |
|---|---|
abstract QueryExpression |
getQueryStatement()
Accessor for the QueryStatement that will return the objects of the candidate type and its subclasses (if required). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final Localiser LOCALISER
protected final boolean includeSubclasses
protected final StoreManager storeMgr
protected final DatastoreAdapter dba
protected final java.lang.String candidateFullClassName
protected DatastoreClass candidateTable
protected final ClassLoaderResolver clr
| Constructor Detail |
|---|
public AbstractIteratorStatement(java.lang.Class type,
ClassLoaderResolver clr,
boolean subclasses,
StoreManager storeMgr)
type - Class that we are querying for as our base.clr - ClassLoaderResolversubclasses - Whether to include subclasses in the iteration.storeMgr - Manager for the store| Method Detail |
|---|
public abstract QueryExpression getQueryStatement()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||