Skip to main content

Ens.Rule.RuleSet

persistent class Ens.Rule.RuleSet extends Ens.Rule.RuleDefinition

SQL Table Name: Ens_Rule.RuleSet

Defines an Ensemble Business Rule set. This is a specific type of Rule definition.

Property Inventory

Method Inventory

Parameters

parameter COMPILABLE = 1;
Indicates if this Rule Engine supports compilation.
parameter RULEEDITORURL = UtilEnsRuleEditor.csp;
Inherited description: URL (csp page) for Rule Editor associated with the Rule Definition class.
parameter XMLNAME = ruleSet;
Inherited description: This parameter provides the default XMLNAME for the class. If it is empty then the class name will be used to construct a default XML name. The default XMLNAME is used as the top level tag when exporting objects and the export context did not provide an XML container name.

Properties

property DefaultValue as %String (MAXLEN = 128, XMLNAME = "default", XMLPROJECTION = "ATTRIBUTE");
Default value returned by this Rule Set.
Property methods: DefaultValueDisplayToLogical(), DefaultValueGet(), DefaultValueGetStored(), DefaultValueIsValid(), DefaultValueLogicalToDisplay(), DefaultValueLogicalToOdbc(), DefaultValueNormalize(), DefaultValueSet()
relationship Rules as array of Rule (XMLNAME = "rule", XMLPROJECTION = "ELEMENT") [ InitialExpression = $listbuild("Ens.Rule.Rule","RuleSet",+$this,"children",1,1) , Transient , Inverse = RuleSet , Cardinality = children ];
Set of Rules that define this Rule Set.
Property methods: RulesGet(), RulesGetObject(), RulesGetObjectId(), RulesGetSwizzled(), RulesIsEmpty(), RulesIsValid(), RulesNewObject(), RulesRClose(), RulesRExec(), RulesRFetch(), RulesRelate(), RulesSQLCompute(), RulesSet(), RulesUnRelate()

Methods

method Evaluate(pContext As %RegisteredObject) as %Status
Evaluate this Rule Set. The resulting return value is returned via the %ReturnValue property.
method GenerateCode(pCompiler As Compiler) as %Status
Generate executable code for this Rule

Inherited Members

Inherited Properties

Inherited Methods

Storage

Gray indicates storage defined by superclasses.

Storage Model: Storage (Ens.Rule.RuleDefinition)

^Ens.Rule.RuleDefinitionD(ID)
=
%%CLASSNAME
Description
HostClass
Name
TimeModified
Version
HasErrors
RoutineName
ContextClass
ReportGroup
ReportName
ShortDescription
Production

Storage Model: Storage (Ens.Rule.RuleSet)

^Ens.Rule.RuleDefinitionD(ID,"RuleSet")
=
DefaultValue
FeedbackOpens in a new tab