Skip to main content

%Library.CompiledClass

Class %Library.CompiledClass Extends %Persistent [ Deprecated, Not ProcedureBlock, StorageStrategy = custom, System = 2 ]

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

This class represents a specific, compiled class definition. 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.

Properties

ClassType

Property ClassType As %RawString;

A string indicating the class type.

Description

Property Description As %RawString;

A string containing the description of the class.

Datatype

Property Datatype As %RawString;

A flag indicating whether the class is a datatype class (1) or not (0).

Name

Property Name As %RawString;

A string containing the name of the class.

Persistent

Property Persistent As %RawString;

A flag indicating whether the class is persistent (1) or not (0).

Serial

Property Serial As %RawString;

A flag indicating whether the class is serial (embeddable) (1) or not (0).

System

Property System As %RawString;

A flag indicating whether the class is a system class (1) or not (0).

Methods

Property Methods As %ListOfPersistentChildObjects(CLASSNAME = 1);

A collection of methods belonging to the class. See %CompiledMethod for details.

Parameters

Property Parameters As %ListOfPersistentChildObjects(CLASSNAME = 1);

A collection of class parameters belonging to the class. See %CompiledParameter for details.

Properties

Property Properties As %ListOfPersistentChildObjects(CLASSNAME = 1);

A collection of properties belonging to the class. See %CompiledProperty for details.

Queries

Property Queries As %ListOfPersistentChildObjects(CLASSNAME = 1);

A collection of queries belonging to the class. See %CompiledQuery for details.

list

Property list As %ListOfDataTypes [ Transient ];

ClassDefinition

Property ClassDefinition As %ClassDefinition(CLASSNAME = 1);

Returns a %ClassDefinition for this class so that you can edit the class definition.

Methods

ClassDefinitionGet

Method ClassDefinitionGet() As %ClassDefinition

ClassDefinitionSet

Method ClassDefinitionSet(val As %ClassDefinition) As %Status [ Private ]

GetClassParameter

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.

%LoadData

Method %LoadData(classname As %String) As %Status [ Private ]

%SaveData

Method %SaveData(id As %String) As %Status [ Private ]

%DeleteData

ClassMethod %DeleteData(id As %String, concurrency As %Integer) As %Status [ Private ]

%Exists

ClassMethod %Exists(oid As %ObjectIdentity) As %Boolean

GetClassList

Method GetClassList() As %ListOfDataTypes

ExportODL

ClassMethod ExportODL(Class As %String, File As %String) As %Status

ClassInfoExecute

ClassMethod ClassInfoExecute(ByRef QHandle As %Binary, initvalue As %String) As %Status

The ClassInfo query provides a summary of information about compiled classes contained in the Class Dictionary.

ClassInfoFetch

ClassMethod ClassInfoFetch(ByRef QHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) As %Status

ClassInfoClose

ClassMethod ClassInfoClose(QHandle As %Binary) As %Status

IndexInfoExecute

ClassMethod IndexInfoExecute(ByRef QHandle As %Binary, classname As %String) As %Status

The IndexInfo query provides a list of indices defined for the class classname.

IndexInfoFetch

ClassMethod IndexInfoFetch(ByRef QHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) As %Status

IndexInfoClose

ClassMethod IndexInfoClose(QHandle As %Binary) As %Status