Home > Class Reference > ENSLIB namespace > %Monitor.Item

%Monitor.Item

SQL Table Name: %Monitor.Item

A single managed data object.

Property Inventory

Properties

property Activated as %Boolean [ InitialExpression = 1 ];
Flag indicating if this item is activated for sampling
Property methods: ActivatedDisplayToLogical(), ActivatedGet(), ActivatedGetStored(), ActivatedIsValid(), ActivatedLogicalToDisplay(), ActivatedLogicalToXSD(), ActivatedNormalize(), ActivatedSet(), ActivatedXSDToLogical()
property Description as %String (MAXLEN = 132, TRUNCATE = 1);
A text description of this data object.
Property methods: DescriptionDisplayToLogical(), DescriptionGet(), DescriptionGetStored(), DescriptionIsValid(), DescriptionLogicalToDisplay(), DescriptionLogicalToOdbc(), DescriptionNormalize(), DescriptionSet()
property GetMethod as %String (TRUNCATE = 1);
Method used to fetch the value of this data object.
Property methods: GetMethodDisplayToLogical(), GetMethodGet(), GetMethodGetStored(), GetMethodIsValid(), GetMethodLogicalToDisplay(), GetMethodLogicalToOdbc(), GetMethodNormalize(), GetMethodSet()
relationship ItemGroup as %Monitor.ItemGroup [ Required , Inverse = Items , Cardinality = parent ];
Container Group
Property methods: ItemGroupCheck(), ItemGroupDelete(), ItemGroupGet(), ItemGroupGetObject(), ItemGroupGetObjectId(), ItemGroupGetStored(), ItemGroupGetSwizzled(), ItemGroupIsValid(), ItemGroupNewObject(), ItemGroupOnDelete(), ItemGroupRClose(), ItemGroupRExec(), ItemGroupRFetch(), ItemGroupRelate(), ItemGroupSQLCompute(), ItemGroupSet(), ItemGroupSetObject(), ItemGroupSetObjectId(), ItemGroupUnRelate(), ItemGroupUnSwizzle()
property MaxLen as %Integer;
Maximum length for a string.
Property methods: MaxLenDisplayToLogical(), MaxLenGet(), MaxLenGetStored(), MaxLenIsValid(), MaxLenLogicalToDisplay(), MaxLenNormalize(), MaxLenSet(), MaxLenXSDToLogical()
property MaxVal as %Integer;
Maximum value for an integer.
Property methods: MaxValDisplayToLogical(), MaxValGet(), MaxValGetStored(), MaxValIsValid(), MaxValLogicalToDisplay(), MaxValNormalize(), MaxValSet(), MaxValXSDToLogical()
property MinLen as %Integer;
Minimum length for a string.
Property methods: MinLenDisplayToLogical(), MinLenGet(), MinLenGetStored(), MinLenIsValid(), MinLenLogicalToDisplay(), MinLenNormalize(), MinLenSet(), MinLenXSDToLogical()
property MinVal as %Integer;
Minimum value for an integer.
Property methods: MinValDisplayToLogical(), MinValGet(), MinValGetStored(), MinValIsValid(), MinValLogicalToDisplay(), MinValNormalize(), MinValSet(), MinValXSDToLogical()
property Monitor as %Boolean [ InitialExpression = 0 ];
Monitor this data object.
Property methods: MonitorDisplayToLogical(), MonitorGet(), MonitorGetStored(), MonitorIsValid(), MonitorLogicalToDisplay(), MonitorLogicalToXSD(), MonitorNormalize(), MonitorSet(), MonitorXSDToLogical(), MonitoredItemsClose(), MonitoredItemsExecute(), MonitoredItemsFetch(), MonitoredItemsFetchRows(), MonitoredItemsFunc(), MonitoredItemsGetInfo(), MonitoredItemsGetODBCInfo(), MonitoredItemsPrepare(), MonitoredItemsSendODBC()
property Name as %String (TRUNCATE = 1) [ Required ];
The name of this data object
Property methods: NameDisplayToLogical(), NameGet(), NameGetStored(), NameIsValid(), NameLogicalToDisplay(), NameLogicalToOdbc(), NameNormalize(), NameSet()
property Type as %String;
The data type for this data object.
Property methods: TypeDisplayToLogical(), TypeGet(), TypeGetStored(), TypeIsValid(), TypeLogicalToDisplay(), TypeLogicalToOdbc(), TypeNormalize(), TypeSet()

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

Indexes

index (IDKEY on Name) [IdKey, PrimaryKey, Type = key, Unique];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()

Inherited Members

Inherited Methods

Storage

Storage Model: Storage (%Monitor.Item)

^Monitor.ItemD(ID,"1")
=
%%CLASSNAME
EvalMethod
Monitor
NotifyMethod
Activated

Storage Model: Storage (%Monitor.Item)

^Monitor.ItemD(ID)
=
Access
Description
DisplayList
GetMethod
MaxLen
MaxVal
MinLen
MinVal
Name
NextMethod
SetMethod
Status
Type
Units
ValueList