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 (Including Private)

Method Inventory (Including Private)


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.


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(), InventoryRecordIndexExists(), 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()


method FindInventoryRecord(rtnData As %String) [ Language = objectscript ]
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) [ Language = objectscript ]
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.
private method Strings(data As %String, minLen As %String = 4, tag As %String = "") as %List [ Language = objectscript ]
Extract strings from input data and return as a $LIST minlen specifies how long the string must be to be selected tag specifies the bytes that must be contained in the string to be selected


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 (Including Private)

Inherited Methods (Including Private)


Gray indicates storage defined by superclasses.

Storage Model: Storage (Inventory.Component)


Storage Model: Storage (Inventory.Component)


Storage Model: Storage (Inventory.RoutineComponent)