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 > %SYS namespace > %Library.CompiledClass

%Library.CompiledClass

persistent class %Library.CompiledClass extends %Library.Persistent

SQL Table Name: %Library.CompiledClass

Note: The class definition classes in the %Library package have been superceded by those in the %Dictionary package.

This class represents a specific, compiled class description contained within the Caché Dictionary. That is, it contains all class members, including those that are inherited from super classes.

Instances of this class are "read only"; to modify class definitions use the non-compiled class definition classes.

For more information on class definition classes, refer to About Class Definition Classes.

Property Inventory

Method Inventory

Properties

property ClassDefinition as %ClassDefinition (CLASSNAME = 1);
Returns a %ClassDefinition for this class so that you can edit the class definition.
Property methods: ClassDefinitionGet(), ClassDefinitionGetObject(), ClassDefinitionGetObjectId(), ClassDefinitionGetSwizzled(), ClassDefinitionIsValid(), ClassDefinitionNewObject(), ClassDefinitionSet(), ClassDefinitionSetObject(), ClassDefinitionSetObjectId(), ClassDefinitionUnSwizzle()
property ClassType as %CacheString;
A string indicating the class type.
Property methods: ClassTypeGet(), ClassTypeIsValid(), ClassTypeSet()
property Datatype as %CacheString;
A flag indicating whether the class is a datatype class (1) or not (0).
Property methods: DatatypeGet(), DatatypeIsValid(), DatatypeSet()
property Description as %CacheString;
A string containing the description of the class.
Property methods: DescriptionGet(), DescriptionIsValid(), DescriptionSet()
property Methods as %ListOfPersistentChildObjects (CLASSNAME = 1);
A collection of methods belonging to the class. See %CompiledMethod for details.
Property methods: MethodsGet(), MethodsGetObject(), MethodsGetObjectId(), MethodsGetSwizzled(), MethodsIsValid(), MethodsNewObject(), MethodsSet(), MethodsSetObject(), MethodsSetObjectId(), MethodsUnSwizzle()
property Name as %CacheString;
A string containing the name of the class.
Property methods: NameGet(), NameIsValid(), NameSet()
property Parameters as %ListOfPersistentChildObjects (CLASSNAME = 1);
A collection of class parameters belonging to the class. See %CompiledParameter for details.
Property methods: ParametersGet(), ParametersGetObject(), ParametersGetObjectId(), ParametersGetSwizzled(), ParametersIsValid(), ParametersNewObject(), ParametersSet(), ParametersSetObject(), ParametersSetObjectId(), ParametersUnSwizzle()
property Persistent as %CacheString;
A flag indicating whether the class is persistent (1) or not (0).
Property methods: PersistentGet(), PersistentIsValid(), PersistentSet()
property Properties as %ListOfPersistentChildObjects (CLASSNAME = 1);
A collection of properties belonging to the class. See %CompiledProperty for details.
Property methods: PropertiesGet(), PropertiesGetObject(), PropertiesGetObjectId(), PropertiesGetSwizzled(), PropertiesIsValid(), PropertiesNewObject(), PropertiesSet(), PropertiesSetObject(), PropertiesSetObjectId(), PropertiesUnSwizzle()
property Queries as %ListOfPersistentChildObjects (CLASSNAME = 1);
A collection of queries belonging to the class. See %CompiledQuery for details.
Property methods: QueriesGet(), QueriesGetObject(), QueriesGetObjectId(), QueriesGetSwizzled(), QueriesIsValid(), QueriesNewObject(), QueriesSet(), QueriesSetObject(), QueriesSetObjectId(), QueriesUnSwizzle()
property Serial as %CacheString;
A flag indicating whether the class is serial (embeddable) (1) or not (0).
Property methods: SerialGet(), SerialIsValid(), SerialSet()
property System as %CacheString;
A flag indicating whether the class is a system class (1) or not (0).
Property methods: SystemGet(), SystemIsValid(), SystemSet()
property list as %ListOfDataTypes [ Transient ];
Property methods: listGet(), listGetObject(), listGetObjectId(), listGetSwizzled(), listIsEmpty(), listIsValid(), listNewObject(), listSet(), listSetObject(), listSetObjectId(), listUnSwizzle()

Methods

classmethod %Exists(oid As %ObjectIdentity) as %Boolean
Inherited description: Checks to see if the object identified by the OID oid exists in the extent.

Returns %Boolean TRUE if it exists, FALSE if it does not.

method ClassDefinitionGet() as %ClassDefinition
classmethod ClassInfoClose(QHandle As %Binary) as %Status
classmethod ClassInfoExecute(ByRef QHandle As %Binary, initvalue As %String) as %Status
classmethod ClassInfoFetch(ByRef QHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status
classmethod ExportODL(Class As %String, File As %String) as %Status
method GetClassList() as %ListOfDataTypes
classmethod GetClassParameter(classname As %String, name As %String) as %String
The GetParameter method returns the value of the parameter named name from the class classname.
classmethod IndexInfoClose(QHandle As %Binary) as %Status
classmethod IndexInfoExecute(ByRef QHandle As %Binary, classname As %String) as %Status
classmethod IndexInfoFetch(ByRef QHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status

Queries

query ClassInfo(initvalue As %String)
Selects Name, Abstract As %Integer, System, Persistent, HasProperty As %Integer, Caption
The ClassInfo query provides a summary of information about compiled classes contained in the Caché Dictionary.
query IndexInfo(classname As %String)
Selects Name As %String, Attributes As %String, Type As %String, PrimaryKey As %Integer, Unique As %Integer
The IndexInfo query provides a list of indices defined for the class classname.

Inherited Members

Inherited Methods