8.7. Extent Factory
Prev | Chapter 8. PersistenceManager | Next

## 8.7. Extent Factory

    public Extent getExtent (Class pcClass, boolean includeSubclasses);

`Extent`s are logical representations of all persistent instances of a given persistence-capable class, possibly including subclasses.

`Extent`s are obtained through the `PersistenceManager`'s `getExtent` method. This method takes two parameters: the class of objects the `Extent` contains, and a `boolean` indicating whether or not subclasses are included as well.

You cannot retrieve `Extent`s for persistence-capable classes whose metadata specifies a value of `false` for the `requires-extent` attribute.

Prev | Up | Next
8.6. JDO Identity Management | Home | 8.8. Query Factory