Inventory.RoutineComponent
persistent class Inventory.RoutineComponent extends Inventory.Component, Inventory.Hashable
SQL Table Name: Inventory.RoutineComponent
RoutineComponent is a subclass of Component. An instance represents a routine.It contains properties representing the routine's name, size, an optional InventoryRecord, and a SHA1 hash of the routine's compiled code.
Property Inventory
Method Inventory
Parameters
parameter XMLNAME = RoutineComponent;
The element name used in the XML representation of the component.
parameter XMLTYPE = RoutineComponent;
The identifier used to distinguish the type of this component in the XML representation.
Properties
property InventoryRecord as %String (MAXLEN = 256);
The contents of an optional tagged comment inside the routine represented by this RoutineComponent, used to track its origins.
Property methods: InventoryRecordDisplayToLogical(), InventoryRecordGet(), InventoryRecordGetStored(), InventoryRecordIsValid(), InventoryRecordLogicalToDisplay(), InventoryRecordLogicalToOdbc(), InventoryRecordNormalize(), InventoryRecordSet()
property Size as %Integer;
The size of the compiled code, in bytes, of the routine represented by this RoutineComponent.
Property methods: SizeDisplayToLogical(), SizeGet(), SizeGetStored(), SizeIsValid(), SizeLogicalToDisplay(), SizeNormalize(), SizeSet(), SizeXSDToLogical()
Methods
method FindInventoryRecord(rtnData As %String)
Scans the routine represented by this RoutineComponent for a comment string beginning
with ";; ISC-TAG:".
If present, sets the InventoryRecord property of this object to the remainder of the string.
method GenerateSHA1Hash(string As %String)
Retrieve the system-generated CRC for the routine and store it as the SHA1Hash property
of this object.
string is assumed to be the value of the ^rOBJ node of the routine.
string is assumed to be the value of the ^rOBJ node of the routine.
Indexes
index ($RoutineComponent on ) [Extent, Type = bitmap];
index (InventoryRecordIndex on InventoryRecord);
Index methods: InventoryRecordIndexExists()
index (ScanSHA1Index on Scan,SHA1Hash);
Index methods: ScanSHA1IndexExists()
Inherited Members
Inherited Properties
Inherited Methods
- %AddToSaveSet()
- %AddToSyncSet()
- %BMEBuilt()
- %CheckConstraints()
- %CheckConstraintsForExtent()
- %ClassIsLatestVersion()
- %ClassName()
- %ComposeOid()
- %ConstructClone()
- %Delete()
- %DeleteExtent()
- %DeleteId()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Exists()
- %ExistsId()
- %Extends()
- %GUID()
- %GUIDSet()
- %GetLock()
- %GetParameter()
- %GetSwizzleObject()
- %Id()
- %InsertBatch()
- %IsA()
- %IsModified()
- %IsNull()
- %KillExtent()
- %KillExtentData()
- %LoadFromMemory()
- %LockExtent()
- %LockId()
- %New()
- %NormalizeObject()
- %ObjectIsNull()
- %ObjectModified()
- %Oid()
- %OnBeforeAddToSync()
- %OnDetermineClass()
- %Open()
- %OpenId()
- %OriginalNamespace()
- %PackageName()
- %PhysicalAddress()
- %PurgeIndices()
- %Reload()
- %RemoveFromSaveSet()
- %ResolveConcurrencyConflict()
- %RollBack()
- %Save()
- %SaveDirect()
- %SaveIndices()
- %SerializeObject()
- %SetModified()
- %SortBegin()
- %SortEnd()
- %SyncObjectIn()
- %SyncTransport()
- %UnlockExtent()
- %UnlockId()
- %ValidateIndices()
- %ValidateObject()
- GenerateSHA1HashFromStream()
- XMLDTD()
- XMLExport()
- XMLExportToStream()
- XMLExportToString()
- XMLNew()
- XMLSchema()
- XMLSchemaNamespace()
- XMLSchemaType()
Storage
Gray indicates storage defined by superclasses.
Storage Model: CacheStorage (Inventory.Component)
^SYS("Inventory","ComponentD")(ID) | = | %%CLASSNAME
Name
ParentComponent
Scan
|
^SYS("Inventory","ComponentD")(ID,"SubComponents",n) | = | SubComponents(n) |
^SYS("Inventory","ComponentD")(ID,"RoutineComponent") | = | SHA1Hash
InventoryRecord
Size
|