|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
oracle.toplink.jdo.JDOExtent
PUBLIC:
JDO wrapper for TopLink query results. JDO:
Instances of the Extent class represent the entire collection of instances in the data store of the candidate class possibly including its subclasses.
The Extent instance has two possible uses:
Constructor Summary |
Method Summary |
Type | Method |
---|---|
void |
close(java.util.Iterator iterator)
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 |
JDOPersistenceManager |
getManager()
Return the JDOPersistenceManager. |
java.util.Set |
getOpenCursors()
Return the open scrollable cursors on this extent. |
oracle.toplink.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()
Execute a read all query and return a scrollable cursor. |
Constructor Detail |
Method Detail |
public java.lang.Class getCandidateClass()
public oracle.toplink.jdo.PersistenceManager getPersistenceManager()
public boolean hasSubclasses()
public void close(java.util.Iterator iterator)
it
- an iterator obtained by the method iterator() on this Extent instance.public void closeAll()
public JDOPersistenceManager getManager()
public java.util.Set getOpenCursors()
public java.util.Iterator iterator()
JDO:
Returns an iterator over all the instances in the Extent.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |