Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / ENSLIB namespace / %Monitor.Item
Private  Storage   

%Monitor.Item


A single managed data object.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
11 4 1


Summary


Properties
Activated Description GetMethod ItemGroup MaxLen
MaxVal MinLen MinVal Monitor Name
Type

Methods
%AddToSaveSet %AddToSyncSet %BMEBuilt %BuildIndicesAsync
%BuildIndicesAsyncResponse %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 XMLDTD XMLExport XMLExportToStream
XMLExportToString XMLNew XMLSchema XMLSchemaNamespace
XMLSchemaType


Properties


• property Activated as %Boolean [ InitialExpression = 1 ];
Flag indicating if this item is activated for sampling
• property Description as %String(MAXLEN=132,TRUNCATE=1);
A text description of this data object.
• property GetMethod as %String(TRUNCATE=1);
Method used to fetch the value of this data object.
• relationship ItemGroup as %Monitor.ItemGroup [ Inverse = Items,Cardinality = parent ];
Container Group
• property MaxLen as %Integer;
Maximum length for a string.
• property MaxVal as %Integer;
Maximum value for an integer.
• property MinLen as %Integer;
Minimum length for a string.
• property MinVal as %Integer;
Minimum value for an integer.
• property Monitor as %Boolean [ InitialExpression = 0 ];
Monitor this data object.
• property Name as %String(TRUNCATE=1);
The name of this data object
• property Type as %String;
The data type for this data object.

Queries


• query Items(itemgroupid As %String)
SQL Query :
SELECT %ID FROM Item
WHERE (ItemGroup->ID = :itemgroupid)
Get items for an itemgroup
• query ItemsList(itemgroupid As %String)
SQL Query :
SELECT Name,Activated FROM Item
WHERE (ItemGroup->ID = :itemgroupid)
Get the property names of all the items
• query MonitoredItems()
SQL Query :
SELECT %ID FROM Item
WHERE (Monitor = 1)
Get item definitions for monitored items

Indices


•index (IDKEY on Name) [IdKey,PrimaryKey,Unique];