InterSystems IRIS Data Platform 2019.2  /  Class Definition Reference  /  Method Keywords

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

Specifies whether this is an abstract method.
To specify that this method is abstract, use the following syntax:
Method name(formal_spec) As returnclass [ Abstract ] {    //implementation }
Otherwise, omit this keyword or place the word Not immediately before the keyword.
An abstract method has no implementation and has no executable code generated for it. Abstract methods exist solely for the purpose of defining a method signature (or interface) that can be overridden and implemented within one or more subclasses. Some examples of abstract methods are the various callback methods defined, but not implemented by, in the InterSystems IRIS class library.
If you omit this keyword, the method is not abstract.
See Also

Next section
Send us comments on this page
View this book as PDF   |  Download all PDFs
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA
Content Date/Time: 2019-10-18 06:48:42