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).

Home > Class Reference > ENSLIB namespace > Ens.DataType.Class

Ens.DataType.Class

datatype class Ens.DataType.Class extends %Library.String

ODBC Type: VARCHAR

Datatype for use on settings representing a classname in order to clearly indicate the type of a setting.

Method Inventory (Including Private)

Parameters

parameter EXTENDS;
The name of a class that this type should extend
parameter MAXLEN = $$$MAXCLASSNAMELENGTH;
The maximum number of characters a classname can contain.
parameter MUSTEXIST = 0;
A flag that indicates if non-existent classes can be specified

Methods (Including Private)

classmethod IsValid(%val As %String) as %Status
Use %IsClassnameValid^%occName to validate the class name

Inherited Members

Inherited Methods (Including Private)