Home > Class Reference > ENSLIB namespace > Ens.Rule.RuleSet

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 (Including Private)

Method Inventory (Including Private)

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 (Including Private)

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 (Including Private)

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 (Including Private)

Inherited Methods (Including Private)