Caché Class Definition Reference
NoExtent
[Home] [Back] [Next]
InterSystems: The power behind what matters   
Class Reference   
Search:    

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