Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Previous sectionNext section

ClientName

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 Caché 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