|
Oracle Application Server TopLink API Reference 10g Release 2 (10.1.2) B15903-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
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:
Method Summary | |
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. |
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() Execute a read all query and return a scrollable cursor. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public java.lang.Class getCandidateClass()
getCandidateClass
in interface javax.jdo.Extent
public javax.jdo.PersistenceManager getPersistenceManager()
getPersistenceManager
in interface javax.jdo.Extent
public boolean hasSubclasses()
hasSubclasses
in interface javax.jdo.Extent
public void close(java.util.Iterator iterator)
close
in interface javax.jdo.Extent
public void closeAll()
closeAll
in interface javax.jdo.Extent
public JDOPersistenceManager getManager()
public java.util.Set getOpenCursors()
public java.util.Iterator iterator()
JDO:
Returns an iterator over all the instances in the Extent.
iterator
in interface javax.jdo.Extent
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |