%Library.ClassDefinition
hidden deprecated persistent class %Library.ClassDefinition extends %Library.AbstractDefinition
SQL Table Name: %Library.ClassDefinition
Note: The class definition classes in the %Library package have been superceded by those in the %Dictionary package. Instead use %Dictionary.ClassDefinition.This class represents a specific class definition.
Property Inventory
- Abstract
- ClassType
- ClassVersion
- ClientDatatype
- CompileAfter
- DDLAllowed
- Datatype
- Deprecated
- Description
- Dynamic
- Final
- ForeignKeys
- Hidden
- IncludeCode
- IncludeGenerator
- Indices
- Language
- Methods
- Modified
- Name
- NoContext
- OdbcType
- Owner
- Parameters
- Persistent
- Properties
- PropertyClass
- Queries
- Querytype
- Serial
- SqlCategory
- SqlRoutinePrefix
- SqlRowIdName
- SqlRowIdPrivate
- SqlTableName
- StorageStrategy
- Storages
- Super
- System
- TimeCreated
- Triggers
- View
- ViewQuery
- list
Method Inventory
- %Exists()
- CacheSQLInstalled()
- ClassInfoClose()
- ClassInfoExecute()
- ClassInfoFetch()
- ClassInfoFetchRows()
- ClassTypeGet()
- CompileAllClasses()
- CompileClasses()
- CurrentNameSpace()
- DatatypeGet()
- DatatypeSet()
- Export()
- ExportCPP()
- ExportJava()
- ExportODL()
- GetClassFullList()
- GetClassLocalList()
- GetTransientState()
- PersistentGet()
- PersistentSet()
- PublishUserClass()
- PublishUserClasses()
- QuerytypeGet()
- QuerytypeSet()
- SerialGet()
- SerialSet()
- SetTransientState()
- SubclassOfClose()
- SubclassOfExecute()
- SubclassOfFetch()
- SubclassOfFetchRows()
- UpdateUserIndex()
- ViewGet()
- ViewSet()
Properties
property Abstract as %RawString;
A flag indicating whether the class is abstract (1) or not (0).
Property methods: AbstractGet(), AbstractIsValid(), AbstractSet()
property ClassType as %RawString [ InitialExpression = $char(0) ];
A string containing the class type.
Property methods: ClassTypeIsValid(), ClassTypeSet()
property ClassVersion as %Integer [ InitialExpression = 23 ];
The class dictionary version of this class, when we save we always upgrade to the latest version automatically.
If you open an existing class we will use the version from this class
Property methods: ClassVersionDisplayToLogical(), ClassVersionGet(), ClassVersionIsValid(), ClassVersionLogicalToDisplay(), ClassVersionNormalize(), ClassVersionSet()
property ClientDatatype as %RawString [ InitialExpression = "VARCHAR" ];
For a datatype class, a string containing the client datatype of the class.
Property methods: ClientDatatypeGet(), ClientDatatypeIsValid(), ClientDatatypeSet()
property CompileAfter as %RawString;
A string containing the name of another class which should be
compiled before this class.
Property methods: CompileAfterGet(), CompileAfterIsValid(), CompileAfterSet()
property DDLAllowed as %RawString;
A flag indicating whether DDL operations are allowed on the class (1) or not (0).
Property methods: DDLAllowedGet(), DDLAllowedIsValid(), DDLAllowedSet()
property Datatype as %RawString [ Calculated ];
A flag indicating whether the class is a datatype class (1) or not (0).
property Deprecated as %RawString;
A flag indicating if this class is deprecated (1) or not (0).
Property methods: DeprecatedGet(), DeprecatedIsValid(), DeprecatedSet()
property Description as %RawString;
A string containing the description of the class.
Property methods: DescriptionGet(), DescriptionIsValid(), DescriptionSet()
property Dynamic as %RawString;
A flag indicating whether the class is dynamically defined (1) or not (0).
Property methods: DynamicGet(), DynamicIsValid(), DynamicSet()
property Final as %RawString;
A flag indicating whether the class is final (1) or not (0).
Property methods: FinalGet(), FinalIsValid(), FinalSet()
property ForeignKeys as %ListOfPersistentChildObjects (CLASSNAME = 1);
A collection of foreign keys belonging to the class.
See %ForeignKeyDefinition for details.
Property methods: ForeignKeysGet(), ForeignKeysGetObject(), ForeignKeysGetObjectId(), ForeignKeysGetSwizzled(), ForeignKeysIsValid(), ForeignKeysNewObject(), ForeignKeysSet(), ForeignKeysSetObject(), ForeignKeysSetObjectId(), ForeignKeysUnSwizzle()
property Hidden as %RawString;
A flag indicating whether the class is hidden (1) or not (0).
Property methods: HiddenGet(), HiddenIsValid(), HiddenSet()
property IncludeCode as %RawString;
A string containing a comma-delimited list of names of
include (.INC) files to be used when compiling the class.
Property methods: IncludeCodeGet(), IncludeCodeIsValid(), IncludeCodeSet()
property IncludeGenerator as %RawString;
A string containing a comma-delimited list of names of
include (.INC) files to be used when compiling any method generators for the class.
Property methods: IncludeGeneratorGet(), IncludeGeneratorIsValid(), IncludeGeneratorSet()
property Indices as %ListOfPersistentChildObjects (CLASSNAME = 1);
A collection of indices belonging to the class.
See %IndexDefinition for details.
Property methods: IndicesGet(), IndicesGetObject(), IndicesGetObjectId(), IndicesGetSwizzled(), IndicesIsValid(), IndicesNewObject(), IndicesSet(), IndicesSetObject(), IndicesSetObjectId(), IndicesUnSwizzle()
property Language as %RawString [ InitialExpression = "cache" ];
A string containing the default language for all the methods.
Property methods: LanguageGet(), LanguageIsValid(), LanguageSet()
property Methods as %ListOfPersistentChildObjects (CLASSNAME = 1);
A collection of methods belonging to the class.
See %MethodDefinition for details.
Property methods: MethodsGet(), MethodsGetObject(), MethodsGetObjectId(), MethodsGetSwizzled(), MethodsIsValid(), MethodsNewObject(), MethodsSet(), MethodsSetObject(), MethodsSetObjectId(), MethodsUnSwizzle()
property Modified as %RawString [ InitialExpression = 0 ];
A flag indicating how the class keeps track of modified attributes.
Property methods: ModifiedGet(), ModifiedIsValid(), ModifiedSet()
property Name as %RawString;
A string containing the name of the class.
Property methods: NameGet(), NameIsValid(), NameSet()
property NoContext as %RawString;
This is for internal use only.
Property methods: NoContextGet(), NoContextIsValid(), NoContextSet()
property OdbcType as %RawString [ InitialExpression = "VARCHAR" ];
For a datatype class, a string indicating the ODBC type of the class.
Property methods: OdbcTypeGet(), OdbcTypeIsValid(), OdbcTypeSet()
property Owner as %RawString;
A string containing the name of the owner of the class.
Property methods: OwnerGet(), OwnerIsValid(), OwnerSet()
property Parameters as %ListOfPersistentChildObjects (CLASSNAME = 1);
A collection of class parameters belonging to the class.
See %ParameterDefinition for details.
Property methods: ParametersGet(), ParametersGetObject(), ParametersGetObjectId(), ParametersGetSwizzled(), ParametersIsValid(), ParametersNewObject(), ParametersSet(), ParametersSetObject(), ParametersSetObjectId(), ParametersUnSwizzle()
property Persistent as %RawString [ Calculated ];
A flag indicating whether the class is persistent (1) or not (0).
property Properties as %ListOfPersistentChildObjects (CLASSNAME = 1);
A collection of properties belonging to the class.
See %PropertyDefinition for details.
Property methods: PropertiesGet(), PropertiesGetObject(), PropertiesGetObjectId(), PropertiesGetSwizzled(), PropertiesIsValid(), PropertiesNewObject(), PropertiesSet(), PropertiesSetObject(), PropertiesSetObjectId(), PropertiesUnSwizzle()
property PropertyClass as %RawString;
This is for internal use only.
Property methods: PropertyClassGet(), PropertyClassIsValid(), PropertyClassSet()
property Queries as %ListOfPersistentChildObjects (CLASSNAME = 1);
A collection of class queries belonging to the class.
See %QueryDefinition for details.
Property methods: QueriesGet(), QueriesGetObject(), QueriesGetObjectId(), QueriesGetSwizzled(), QueriesIsValid(), QueriesNewObject(), QueriesSet(), QueriesSetObject(), QueriesSetObjectId(), QueriesUnSwizzle()
property Querytype as %RawString [ Calculated ];
property Serial as %RawString [ Calculated ];
A flag indicating whether the class is serial (embeddable) (1) or not (0).
property SqlCategory as %RawString [ InitialExpression = "STRING" ];
For datatype classes, a string containing the name of the SQL category
associated with the data type.
Property methods: SqlCategoryGet(), SqlCategoryIsValid(), SqlCategorySet()
property SqlRoutinePrefix as %RawString;
This is for internal use.
Property methods: SqlRoutinePrefixGet(), SqlRoutinePrefixIsValid(), SqlRoutinePrefixSet()
property SqlRowIdName as %RawString;
A string containing a user-defined name of the ID field or null string "" if it has the default name.
Property methods: SqlRowIdNameGet(), SqlRowIdNameIsValid(), SqlRowIdNameSet()
property SqlRowIdPrivate as %RawString;
A flag indicating whether the class hides its ID field to SQL (1) or not (0).
Property methods: SqlRowIdPrivateGet(), SqlRowIdPrivateIsValid(), SqlRowIdPrivateSet()
property SqlTableName as %RawString;
A string containing an optional SQL table name. This is the name used the class
is projected as an SQL table.
Property methods: SqlTableNameGet(), SqlTableNameIsValid(), SqlTableNameSet()
property StorageStrategy as %RawString;
A string containing the name of the storage definition in use.
Property methods: StorageStrategyGet(), StorageStrategyIsValid(), StorageStrategySet()
property Storages as %ListOfPersistentChildObjects (CLASSNAME = 1);
A collection of storage definitions belonging to the class.
See %StorageDefinition for details.
Property methods: StoragesGet(), StoragesGetObject(), StoragesGetObjectId(), StoragesGetSwizzled(), StoragesIsValid(), StoragesNewObject(), StoragesSet(), StoragesSetObject(), StoragesSetObjectId(), StoragesUnSwizzle()
property Super as %RawString;
A string containing a comma-delimited list of super class names.
Property methods: SuperGet(), SuperIsValid(), SuperSet()
property System as %RawString [ InitialExpression = 0 ];
A flag indicating whether the class is a system class (1) or not (0).
Property methods: SystemGet(), SystemIsValid(), SystemSet()
property TimeCreated as %RawString;
Time this class is created.
Property methods: TimeCreatedGet(), TimeCreatedIsValid(), TimeCreatedSet()
property Triggers as %ListOfPersistentChildObjects (CLASSNAME = 1);
A collection of SQL triggers belonging to the class.
See %TriggerDefinition for details.
Property methods: TriggersGet(), TriggersGetObject(), TriggersGetObjectId(), TriggersGetSwizzled(), TriggersIsValid(), TriggersNewObject(), TriggersSet(), TriggersSetObject(), TriggersSetObjectId(), TriggersUnSwizzle()
property View as %RawString [ Calculated ];
A flag indicating whether the class is an SQL view (1) or not (0).
property ViewQuery as %RawString;
The SQL statement that defines a view.
Property methods: ViewQueryGet(), ViewQueryIsValid(), ViewQuerySet()
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.
classmethod CacheSQLInstalled() as %Integer
classmethod ClassInfoExecute(ByRef QHandle As %Binary, initvalue As %String, mapped As %Boolean = 1) as %Status
classmethod ClassInfoFetch(ByRef QHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status
Fetch returns the next row in the query.
classmethod ClassInfoFetchRows(ByRef QHandle As %Binary, FetchCount As %Integer = 0, ByRef RowSet As %List, ByRef ReturnCount As %Integer, ByRef AtEnd As %Integer) as %Status
RoutineListFetchRows returns the next FetchCount rows in the query.
method ClassTypeGet() as %RawString
method CompileAllClasses(flag As %String) as %ListOfDataTypes
method CompileClasses(classlist As %String, flag As %String) as %ListOfDataTypes
classmethod CurrentNameSpace() as %String
method DatatypeGet() as %RawString
method DatatypeSet(value As %RawString) as %Status
classmethod Export(classes As %String, type As %String, ByRef objs As %ArrayOfObjects) as %Status
method GetClassFullList(flag As %String = "") as %ListOfDataTypes
method GetClassLocalList() as %ListOfDataTypes
method GetTransientState() as %String
method PersistentGet() as %RawString
method PersistentSet(value As %RawString) as %Status
classmethod PublishUserClasses() as %Status
method QuerytypeGet() as %RawString
method QuerytypeSet(value As %RawString) as %Status
method SerialGet() as %RawString
method SerialSet(value As %RawString) as %Status
method SetTransientState(state)
classmethod SubclassOfExecute(ByRef QHandle As %Binary, super As %String, initval As %String = "") as %Status
classmethod SubclassOfFetch(ByRef QHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status
Fetch returns the next row in the query.
classmethod SubclassOfFetchRows(ByRef QHandle As %Binary, FetchCount As %Integer = 0, ByRef RowSet As %List, ByRef ReturnCount As %Integer, ByRef AtEnd As %Integer) as %Status
SubclassOfFetchRows returns the next FetchCount rows in the query.
classmethod UpdateUserIndex() as %Status
method ViewGet() as %RawString
method ViewSet(value As %RawString) as %Status
Queries
Selects Name As %String, Super As %String, Hidden As %Boolean, Datatype As %Boolean, System As %Integer, Final As %Boolean, Persistent As %Boolean, Serial As %Boolean, TimeChanged, SqlTableName, Abstract As %Boolean
The ClassInfo query provides a summary of information about classes contained in the
Class Dictionary.
Selects Name As %String
The SubclassOf query produces a list of classes that are subclasses of the
super class starting the search at initval. For example this
allows you to find all the subclasses of %CSP.Page very easily.
Indexes
index (IDKEY on ) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()
Inherited Members
Inherited Methods
- %AddToSaveSet()
- %AddToSyncSet()
- %BuildDeferredIndices()
- %BuildIndices()
- %BuildIndicesAsync()
- %BuildIndicesAsyncResponse()
- %CheckConstraints()
- %CheckConstraintsForExtent()
- %ClassIsLatestVersion()
- %ClassName()
- %ComposeOid()
- %ConstructClone()
- %Delete()
- %DeleteExtent()
- %DeleteId()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %ExistsId()
- %Extends()
- %GUID()
- %GUIDSet()
- %GetLock()
- %GetParameter()
- %GetSwizzleObject()
- %Id()
- %IsA()
- %IsModified()
- %IsNull()
- %KillExtent()
- %LockExtent()
- %LockId()
- %New()
- %NormalizeObject()
- %ObjectIsNull()
- %ObjectModified()
- %Oid()
- %OnBeforeAddToSync()
- %OnDeleteFinally()
- %OnDetermineClass()
- %OnOpenFinally()
- %OnSaveFinally()
- %Open()
- %OpenId()
- %OriginalNamespace()
- %PackageName()
- %PurgeIndices()
- %Reload()
- %RemoveFromSaveSet()
- %ResolveConcurrencyConflict()
- %RollBack()
- %Save()
- %SaveDirect()
- %SerializeObject()
- %SetModified()
- %SortBegin()
- %SortEnd()
- %SyncObjectIn()
- %SyncTransport()
- %UnlockExtent()
- %UnlockId()
- %ValidateIndices()
- %ValidateObject()
- %ValidateTable()
- lb()
- li()
- ll()
Storage
Gray indicates storage defined by superclasses.
Storage Model: Storage (%Library.AbstractDefinition)
^%Library.AbstractDefinitionD(ID) |
= | %%CLASSNAME
|