This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > %SYS namespace > %iKnow.Model.metrics


deprecated class %iKnow.Model.metrics 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 autoExecute as %Boolean (XMLPROJECTION = "ATTRIBUTE");
Whether or not metrics are to be built as part of the Domain Definition's %Build() method. This property is ignored in Metric Definitions (outside of a Domain Definition).
Property methods: autoExecuteDisplayToLogical(), autoExecuteGet(), autoExecuteIsValid(), autoExecuteLogicalToDisplay(), autoExecuteLogicalToXSD(), autoExecuteNormalize(), autoExecuteSet(), autoExecuteXSDToLogical()
property disabled as %Boolean (XMLPROJECTION = "attribute");
If set to 1, this element is ignored when compiling, validating and building the domain. This property is ignored in Metric Definitions (outside of a Domain Definition).
Property methods: disabledDisplayToLogical(), disabledGet(), disabledIsValid(), disabledLogicalToDisplay(), disabledLogicalToXSD(), disabledNormalize(), disabledSet(), disabledXSDToLogical()
relationship metrics as array of %iKnow.Model.metric (XMLELEMENTREF = 1, XMLPROJECTION = "ELEMENT", XMLTYPECONSTRAINT = "CHOICE") [ InitialExpression = $listbuild("%iKnow.Model.metric","group",+$this,"many",0,0) , Transient , Inverse = group , Cardinality = many ];
Property methods: metricsGet(), metricsGetObject(), metricsGetObjectId(), metricsGetSwizzled(), metricsIsEmpty(), metricsIsValid(), metricsNewObject(), metricsRClose(), metricsRExec(), metricsRFetch(), metricsRelate(), metricsSQLCompute(), metricsSet(), metricsUnRelate()

Methods (Including Private)

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

Inherited Members

Inherited Methods (Including Private)