| java.lang.Object com.triactive.jdo.store.ClassViewExtent
ClassViewExtent | class ClassViewExtent implements Extent,Queryable(Code) | | An Extent of all persistent objects backed by a view.
author: Mike Martin version: $Revision: 1.9 $ See Also: Extent |
close | public void close(Iterator it)(Code) | | Close an Iterator associated with this Extent instance. Iterators closed
by this method will return false to hasNext() and will throw
NoSuchElementException on next(). The Extent instance can still be used
as a parameter of Query.setCandidates, and to get an Iterator.
Parameters: it - an iterator obtained by the method iterator() on this Extentinstance. |
closeAll | public void closeAll()(Code) | | Close all Iterators associated with this Extent instance. Iterators
closed by this method will return false to hasNext() and will throw
NoSuchElementException on next(). The Extent instance can still be used
as a parameter of Query.setCandidates, and to get an Iterator.
|
getCandidateClass | public Class getCandidateClass()(Code) | | An Extent contains all instances of a particular Class in the data
store; this method returns the Class of the instances
the Class of instances of this Extent |
getPersistenceManager | public javax.jdo.PersistenceManager getPersistenceManager()(Code) | | An Extent is managed by a PersistenceManager; this method gives access
to the owning PersistenceManager.
the owning PersistenceManager |
hasSubclasses | public boolean hasSubclasses()(Code) | | Returns whether this Extent was defined to contain subclasses.
true if this Extent was defined to contain instancesthat are of a subclass type |
iterator | public Iterator iterator()(Code) | | Returns an iterator over all the instances in the Extent.
an iterator over all the instances in the Extent. |
|
|