|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.objectweb.speedo.query.lib.SpeedoExtent
| Constructor Summary | |
|---|---|
SpeedoExtent(java.lang.Class candidateClass,
boolean hasSubclasses,
ProxyManager pm,
JormFactory jf,
boolean prefetch,
org.objectweb.util.monolog.api.Logger logger)
create a new SpeedoExtent object, this object is not obtained by a call to 'new' by the client application, but by the PersistenceManager object with getExtent() method |
|
| Method Summary | |
|---|---|
void |
close(java.util.Iterator it)
Close an Iterator associated with this Extent instance. |
void |
closeAll()
Close all Iterators associated with this Extent instance. |
java.lang.Class |
getCandidateClass()
An Extent contains all instances of a particular Class in the data store; this method returns the Class of the instances |
javax.jdo.FetchPlan |
getFetchPlan()
|
javax.jdo.PersistenceManager |
getPersistenceManager()
An Extent is managed by a PersistenceManager; this method gives access to the owning PersistenceManager. |
boolean |
hasSubclasses()
Returns whether this Extent was defined to contain subclasses. |
java.util.Iterator |
iterator()
Returns an iterator over all the instances in the Extent. |
void |
setFetchPlan(javax.jdo.FetchPlan fp)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SpeedoExtent(java.lang.Class candidateClass,
boolean hasSubclasses,
ProxyManager pm,
JormFactory jf,
boolean prefetch,
org.objectweb.util.monolog.api.Logger logger)
candidateClass - hasSubclasses - pm - | Method Detail |
public java.util.Iterator iterator()
iterator in interface javax.jdo.Extentpublic boolean hasSubclasses()
hasSubclasses in interface javax.jdo.Extentpublic java.lang.Class getCandidateClass()
getCandidateClass in interface javax.jdo.Extentpublic javax.jdo.PersistenceManager getPersistenceManager()
getPersistenceManager in interface javax.jdo.Extentpublic javax.jdo.FetchPlan getFetchPlan()
getFetchPlan in interface javax.jdo.Extentpublic void setFetchPlan(javax.jdo.FetchPlan fp)
public void closeAll()
closeAll in interface javax.jdo.Extentpublic void close(java.util.Iterator it)
close in interface javax.jdo.Extentit - an iterator obtained by the method iterator() on this Extent instance.
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||