Skip to main content
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 }
Copy code to clipboard

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