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

%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

Method Inventory

Properties

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

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

Inherited Members

Inherited Methods