April 2003
Beginner to intermediate
380 pages
12h 25m
English
Extent
An Extent is used to access
all of the instances of a particular class and, optionally, its
subclasses. An application can either iterate over all the instances
or use the extent as the set of candidates instances filtered with a
Query.
public interface Extent {
public void close(Iterator it);
public void closeAll( );
public Class getCandidateClass( );
public PersistenceManager getPersistenceManager( );
public boolean hasSubclasses( );
public Iterator iterator( );
}PersistenceManager.getExtent(
)
PersistenceManager.newQuery(
), Query.setCandidates(
)
Read now
Unlock full access