Home / Class Definition Reference / Class Keywords / GeneratedBy

Class Definition Reference
Previous section           Next section
InterSystems: The power behind what matters   

Indicates that this class was generated by code in another class and thus should not be edited.
The following syntax indicates that this class was generated by code in another class:
Class MyApp.MyClass [ GeneratedBy = MyApp.Generator.cls ] { //class members }
Where MyApp.Generator is a fully qualified class name.
If this keyword is specified, Studio displays the class with a gray background to indicate that it should not be edited.
Effect on Subclasses
This keyword is not inherited.
If you omit this keyword, Studio displays the class normally.
See Also

Previous section           Next section
View this book as PDF
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA
Content Date/Time: 2019-02-15 22:51:05