This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see How to Migrate to InterSystems IRIS, available on the WRC Distributions page (login required).


class %iKnow.Model.expression extends %iKnow.Model.node

Model representation of a reusable "expression" which can be referred to using %expression.expressionName in this domain definition.

Property Inventory (Including Private)

Method Inventory (Including Private)


property acceptRuntimeParameter as %Boolean (XMLPROJECTION = "ATTRIBUTE") [ InitialExpression = 0 ];
Whether or not values passed through %Build() at runtime should be accepted as values for this parameter. If no value is specified at runtime, value is still used by default.
Property methods: acceptRuntimeParameterDisplayToLogical(), acceptRuntimeParameterGet(), acceptRuntimeParameterIsValid(), acceptRuntimeParameterLogicalToDisplay(), acceptRuntimeParameterLogicalToXSD(), acceptRuntimeParameterNormalize(), acceptRuntimeParameterSet(), acceptRuntimeParameterXSDToLogical()
relationship domain as %iKnow.Model.domain (XMLPROJECTION = "none") [ Inverse = expressions , Cardinality = one ];
Property methods: domainGet(), domainGetObject(), domainGetObjectId(), domainGetSwizzled(), domainIsValid(), domainNewObject(), domainRClose(), domainRExec(), domainRFetch(), domainRelate(), domainSQLCompute(), domainSet(), domainUnRelate()
property name as %String (XMLPROJECTION = "ATTRIBUTE") [ Required ];
Name of the expression, which can be referred to using "" onwards
Property methods: nameDisplayToLogical(), nameGet(), nameIsValid(), nameLogicalToDisplay(), nameLogicalToOdbc(), nameNormalize(), nameSet()
property value as %String (XMLPROJECTION = "ATTRIBUTE") [ Required ];
Value of this expression. This can refer to other (previously) defined expression or domain class methods.
Property methods: valueDisplayToLogical(), valueGet(), valueIsValid(), valueLogicalToDisplay(), valueLogicalToOdbc(), valueNormalize(), valueSet()


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

Inherited Members

Inherited Methods (Including Private)