docs.intersystems.com
InterSystems IRIS Data Platform 2019.2  /  Class Definition Reference  /  Class Keywords

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


Enables you to override the default class name used in client projections of this class.
Usage
To override the default name for a class when it is projected to a client, use the following syntax:
Class MyApp.MyClass [ ClientName = clientclassname ]  
{ //class members }
Where clientclassname is an unquoted string to be used as the client name, instead of the class name.
Details
This keyword lets you define an alternate name for a class when it is projected to a client (such as when using the InterSystems IRIS Java binding).
Effect on Subclasses
This keyword is not inherited.
Default
If you omit this keyword, the actual class name is used on the client.
See Also


Previous section           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-09-20 05:47:55