DocBook|Search
Class Reference
%BI.Hi
   
Server:basexml
Instance:SOAXML
User:UnknownUser
 
-
  [BASEXML] >  [%BI] >  [Hi]
Private  Storage  

persistent class %BI.Hi extends %Persistent

This [read-only] class/table maps to a single condition row in ^SpeedI.Hi It contains one record per Id present in the bitstring. The Id is Col#, the data is Id in target class. It can be used as a normal table, as in select Name,City,Country,Sex into :name,:city,:country,:sex from Speed.Hi,SQLUser.HPerson where Class = "User.HPerson" and Cond = 1961 and TheId = SQLUser.HPerson.Id

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
5 2 1 3


Summary

Properties
Class Col Cond NumericId StringId

Methods
%%OIDGet %AddToSaveSet %AddToSyncSet %BuildIndices
%CheckUnique %ClassIsLatestVersion %ClassName %ComposeOid
%ConstructClone %Delete %DeleteExtent %DeleteId
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Exists
%ExistsId %Extends %GUID %GUIDSet
%GetLock %GetParameter %GetSwizzleObject %Id
%IsA %IsModified %KillExtent %LockExtent
%LockId %New %NormalizeObject %ObjectModified
%Oid %OnBeforeAddToSync %OnBeforeSave %OnDelete
%OnDetermineClass %Open %OpenId %OriginalNamespace
%PackageName %PurgeIndices %Reload %RemoveFromSaveSet
%ResolveConcurrencyConflict %RollBack %Save %SaveDirect
%SerializeObject %SetModified %SortBegin %SortEnd
%SyncObjectIn %SyncTransport %UnlockExtent %UnlockId
%ValidateObject


Properties

• property Class as %String(TRUNCATE=1);
• property Col as %Integer;
• property Cond as %BI.Condition;
• property NumericId as %Integer;
• property StringId as %String(TRUNCATE=1);

Methods

• final method %OnBeforeSave(Insert As %Boolean) as %Status
This callback method is invoked by the %Save method to provide notification that the object is being saved. It is called before any data is written to disk.

insert will be set to 1 if this object is being saved for the first time.

If this method returns an error then the call to %Save will fail.

• final classmethod %OnDelete(Oid As %ObjectIdentity) as %Status
This callback method is invoked by the %Delete method to provide notification that the object specified by oid is being deleted.

If this method returns an error then the object will not be deleted.


Indices

• index (Col on Class,Cond,Col) [IdKey];

Triggers

• trigger HyperDelete (BEFORE event DELETE)
• trigger HyperInsert (BEFORE event INSERT)
• trigger HyperUpdate (BEFORE event UPDATE)