Home  /  Application Development: Core Topics  /  Class Definition Reference  /  Class Keywords  /  ClientName

Class Definition Reference
[Back]  [Next] 
InterSystems: The power behind what matters   

Enables you to override the default class name used in client projections of this class.
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.
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.
If you omit this keyword, the actual class name is used on the client.
See Also