Home > Class Reference > ENSLIB namespace > %iKnow.Model.metric

%iKnow.Model.metric

deprecated class %iKnow.Model.metric extends %iKnow.Model.node

The %iKnow.Metrics infrastructure is deprecated in favour of the more SQL-oriented approach offered through %iKnow.Tables.Utils, where you can add computed fields at different levels and choose whether they need to be persisted or not.

Property Inventory (Including Private)

Method Inventory (Including Private)

Properties (Including Private)

property builderClass as %String (MAXLEN = 250, XMLPROJECTION = "attribute");
The subclass of %iKnow.Metrics.MetricBuilder this metric will be build by.
Property methods: builderClassDisplayToLogical(), builderClassGet(), builderClassIsValid(), builderClassLogicalToDisplay(), builderClassLogicalToOdbc(), builderClassNormalize(), builderClassSet()
property description as %String (MAXLEN = 2000, XMLPROJECTION = "attribute");
Description of the metric
Property methods: descriptionDisplayToLogical(), descriptionGet(), descriptionIsValid(), descriptionLogicalToDisplay(), descriptionLogicalToOdbc(), descriptionNormalize(), descriptionSet()
property disabled as %Boolean (XMLPROJECTION = "attribute");
If set to 1, this element is ignored when compiling, validating and building
Property methods: disabledDisplayToLogical(), disabledGet(), disabledIsValid(), disabledLogicalToDisplay(), disabledLogicalToXSD(), disabledNormalize(), disabledSet(), disabledXSDToLogical()
property groupField as %String (XMLPROJECTION = "attribute");
If the context type (type) is $$$IKMTRTYPEGROUP ("group"), this specifies the metadata field on which the grouping is based.
Property methods: groupFieldDisplayToLogical(), groupFieldGet(), groupFieldIsValid(), groupFieldLogicalToDisplay(), groupFieldLogicalToOdbc(), groupFieldNormalize(), groupFieldSet()
property maintainIndex as %Boolean (XMLPROJECTION = "attribute") [ InitialExpression = 0 ];
Defines whether indices on this metric should be built and maintained automatically when metric values change as the result of a Build() or SetValue() invocation.
Property methods: maintainIndexDisplayToLogical(), maintainIndexGet(), maintainIndexIsValid(), maintainIndexLogicalToDisplay(), maintainIndexLogicalToXSD(), maintainIndexNormalize(), maintainIndexSet(), maintainIndexXSDToLogical()
property name as %String (MAXLEN = 250, XMLPROJECTION = "attribute");
Name of the metric.

WARNING: Changing the name of a <metric> element will create a new metric definition and not change the name of an existing one.

Property methods: nameDisplayToLogical(), nameGet(), nameIsValid(), nameLogicalToDisplay(), nameLogicalToOdbc(), nameNormalize(), nameSet()
property targets as %String (MAXLEN = 250, XMLPROJECTION = "attribute");
Comma-separated list of the target elements this metric applies to. Any combination of $$$IKMTRENTITY, $$$IKMTRCRC, $$$IKMTRCC, $$$IKMTRPATH, $$$IKMTRSENTENCE and $$$IKMTRSOURCE
Property methods: targetsDisplayToLogical(), targetsGet(), targetsIsValid(), targetsLogicalToDisplay(), targetsLogicalToOdbc(), targetsNormalize(), targetsSet()
property type as %String (VALUELIST = ",domain,source,group", XMLPROJECTION = "attribute") [ InitialExpression = "domain" ];
Context type to which the metric applies, either $$$IKMTRTYPEDOMAIN, $$$IKMTRTYPESOURCE or $$$IKMTRTYPEGROUP
Property methods: typeDisplayToLogical(), typeGet(), typeIsValid(), typeLogicalToDisplay(), typeLogicalToOdbc(), typeNormalize(), typeSet()

Methods (Including Private)

method %Validate(pDomainId As %Integer, pDomainDefinition As %iKnow.Model.domain = "") as %Status

Inherited Members

Inherited Methods (Including Private)