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

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?


abstract class Ens.Rule.Generator

Method Inventory


classmethod correlateByName(pClassname As %String, Output pRuleDefinition As Ens.Rule.Model.ruleDefinition, pConcurrency As %Integer = -1) as %Status
classmethod correlateByObj(pObjClass As %Dictionary.ClassDefinition, Output pRuleDefinition As Ens.Rule.Model.ruleDefinition) as %Status
classmethod generateActions(pClassname As %String, variables As %String, pActions As %Collection.ListOfObj, pReason As %String, pAssistClass As %String, %code As %Stream.MethodGenerator, pLevel As %Integer) as %Status
classmethod generateOneAction(pClassname As %String, variables As %String, pAction As Ens.Rule.Model.action, pReason As %String, pAssistClass As %String, %code As %Stream.MethodGenerator, pLevel As %Integer) as %Status
classmethod generateOneRuleSet(pClassname As %String, variables As %String, pRuleSet As Ens.Rule.Model.ruleSet, pRuleSetIndex As %String, pAssistClass As %String, %code As %Stream.MethodGenerator) as %Status
classmethod generateRuleDefinition(%compiledclass As %Dictionary.CompiledClass, %code As %Stream.MethodGenerator = "") as %Status
classmethod line(pCode, pLevel=1)