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 2 4 1


Summary


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

Methods
%%OIDGet %1Check %AddJrnObjToSyncSet %AddToSaveSet
%AddToSyncSet %BMEBuilt %BindExport %BuildIndices
%BuildIndicesAsync %BuildIndicesAsyncResponse %BuildIndicesSegment %BuildObjectGraph
%CheckConstraints %CheckConstraintsForExtent %ClassIsLatestVersion %ClassName
%Close %ComposeOid %ConstructClone %Delete
%DeleteExtent %DeleteId %DispatchClassMethod %DispatchGetModified
%DispatchGetProperty %DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty
%DispatchSetProperty %DowngradeConcurrency %ExecuteAfterTriggers %ExecuteBeforeTriggers
%Exists %ExistsId %Extends %FileIndices
%FileIndicesBuffered %GUID %GUIDSet %GetLock
%GetParameter %GetSwizzleObject %Id %IncrementCount
%InsertBatch %IsA %IsModified %IsNull
%JournalObject %KillExtent %KillExtentData %LoadFromMemory
%LockExtent %LockId %New %NormalizeObject
%ObjectIsNull %ObjectModified %Oid %OnBeforeAddToSync
%OnDetermineClass %Open %OpenId %OriginalNamespace
%PackageName %PhysicalAddress %PurgeIndices %Reload
%RemoveFromSaveSet %ResolveConcurrencyConflict %RollBack %SQLAcquireLock
%SQLAcquireTableLock %SQLAfterTriggers %SQLBeforeTriggers %SQLBuildIndices
%SQLBuildPurgeIndexForRow %SQLBuildPurgeIndices %SQLCheckUnique %SQLCheckUniqueIndices
%SQLCheckUniqueKeys %SQLCopyIcolIntoName %SQLCopyNameIntoIcol %SQLCreateInsDelTables
%SQLDefineiDjVars %SQLDelete %SQLDeleteChildren %SQLDeleteTempStreams
%SQLEExit %SQLExists %SQLFKeyDelLock %SQLFastInsert
%SQLFieldValidate %SQLGetLock %SQLGetOld %SQLGetOldAll
%SQLGetOldIndex %SQLInsert %SQLInsertComputes %SQLInsertStreams
%SQLInvalid %SQLInvalid2 %SQLMVDelete %SQLMVIndexDelete
%SQLMVIndexInsert %SQLMVIndexUpdate %SQLMVInsert %SQLMVUpdate
%SQLMissing %SQLNormalizeCompFields %SQLNormalizeFields %SQLPurgeIndices
%SQLQuickBulkInsert %SQLQuickBulkLoad %SQLQuickBulkSave %SQLQuickBulkUpdate
%SQLQuickDelete %SQLQuickDeleteChildren %SQLQuickFindPKeyByRowID %SQLQuickFindRowIDByPKey
%SQLQuickInsert %SQLQuickLoad %SQLQuickLoadChildren %SQLQuickLogicalToOdbc
%SQLQuickOdbcToLogical %SQLQuickUpdate %SQLReleaseLock %SQLReleaseTableLock
%SQLStorageValidation %SQLTrigDelTab %SQLTrigInsTab %SQLUnlock
%SQLUnlock2 %SQLUnlockError %SQLUnlockRef %SQLUpdate
%SQLUpdateComputes %SQLUpdateStreams %SQLValidateCompFields %SQLValidateFields
%SQLicompView %SQLnBuild %Save %SaveDirect
%SaveIndices %SerializeObject %SetModified %SortBegin
%SortEnd %SyncObjectIn %SyncTransport %UnlockExtent
%UnlockId %UpgradeConcurrency %ValidateIndices %ValidateObject
%XMLGenerate ExistsItem ItemType XMLAfterExport
XMLBeforeExport XMLDTD XMLExport XMLExportInternal
XMLExportToStream XMLExportToString XMLGetSchemaImports XMLImport
XMLImportInternal XMLIsObjectEmpty 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.

Methods


• classmethod ExistsItem(Class As %String, ItemName As %String) as %String
Returns true if item exists
• classmethod ItemType(AppName As %String, GroupName As %String, ItemName As %String) as %String
Fetch the data type for a specific Item (called by ^SNMP)

Queries


• query GroupItems(gid As %String)
Selects ID, Name, Type, ItemGroup
SQL Query :
SELECT ID,Name,Type,ItemGroup FROM Item
WHERE (ItemGroup = :gid)
A list of all Items for a Group (called by SNMP)
• 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];