Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Previous sectionNext section

NoExtent

Specifies whether the compiler is prevented from generating an extent for this class (in the case where it would otherwise do so).

Usage

To prevent the compiler from generating an extent for this class (in cases where it would otherwise do so), use the following syntax:

Class MyApp.MyClass [ NoExtent ]  { //class members }

Otherwise, omit this keyword or place the word Not immediately before the keyword.

Details

If this keyword is true, the class has no extent. You cannot create instances of such a class. Frequently, such classes extend or override the standard persistent interface inherited from %Library.Persistent.

Effect on Subclasses

This keyword is not inherited.

Default

If you omit this keyword, the class can have an extent.

See Also

Feedback