getExtent(persistenceCapableClass, subclasses) - JDO PersistenceManager's method
Method javax.jdo.PersistenceManager
Extent<T> getExtent(
Class<T> persistenceCapableClass,
boolean subclasses
)
PersistenceManager
manages a collection of instances in the data store based on the class of the instances. This method returns an Extent
of instances in the data store that might be iterated or given to a Query
. The Extent
itself might not reference any instances, but only hold the class name and an indicator as to whether subclasses are included in the Extent
. Note that the Extent
might be very large.
- Parameters:
-
persistenceCapableClass
-Class
of instances -
subclasses
- whether to include instances of subclasses
- Returns:
- an
Extent
of the specifiedClass
- Since:
- JDO 1.0
- See Also:
-
Query