|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 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 |
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. |
Method Detail |
public java.util.Iterator iterator()
public boolean hasSubclasses()
public java.lang.Class getCandidateClass()
public PersistenceManager getPersistenceManager()
public void closeAll()
public void close(java.util.Iterator it)
it
- 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 |