98 words

getExtent(persistenceCapableClass, subclasses) - JDO PersistenceManager's method

Method
javax.jdo.PersistenceManager
Extent<T> getExtent(
  Class<T> persistenceCapableClass,
  boolean subclasses
)

The 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 specified Class
Since:
JDO 1.0
See Also:
Query

This documentation page is derived (with some adjustments) from the JDO 2.2 API
and is available under the terms of the Apache License, v. 2.0.