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

Describes the structure of a class definition.
In Caché, a class can include familiar class elements such as properties, methods, and parameters (known as constants in other class languages). It can also include items not usually defined in classes, including triggers, queries, and indexes.
A class definition has the following structure:
Import import_package_list  Include include_code  IncludeGenerator include_generator_code  /// description Class package.shortclassname Extends superclass_list [ class_keyword_list ] {  Class_members  }
See Also
This reference does not formally introduce storage definitions. For an introduction to storage definitions, see Storage in “Persistent Objects and Caché SQL” in the Caché Programming Orientation Guide. Also see Storage Definitions and Storage Classes in “Defining Persistent Classes” in Using Caché Objects.

Send us comments on this page
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA