InterSystems IRIS Data Platform 2020.4 > Class Reference > ENSLIB namespace > Ens.Rule.SubAction


persistent class Ens.Rule.SubAction extends %Library.Persistent, %XML.Adaptor

SQL Table Name: Ens_Rule.SubRuleAction

Defines an Action associated with a specific SubRule. Actual Actions are defined by subclasses.

Property Inventory (Including Private)

Method Inventory (Including Private)


parameter XMLIGNORENULL = 1;
Ensure that we don't get $C(0) for values that are empty strings

Properties (Including Private)

property ActionNo as %Integer (XMLPROJECTION = "none") [ InitialExpression = $I(^Ens.Rule.RuleC("ActionNo")) , Required ];
Property methods: ActionNoDisplayToLogical(), ActionNoGet(), ActionNoGetStored(), ActionNoIsValid(), ActionNoLogicalToDisplay(), ActionNoNormalize(), ActionNoSet(), ActionNoXSDToLogical()
relationship SubRule as Ens.Rule.SubRule [ Required , Inverse = Actions , Cardinality = parent ];
Parent Rule.
Property methods: SubRuleCheck(), SubRuleDelete(), SubRuleGet(), SubRuleGetObject(), SubRuleGetObjectId(), SubRuleGetStored(), SubRuleGetSwizzled(), SubRuleIsValid(), SubRuleNewObject(), SubRuleOnDelete(), SubRuleRClose(), SubRuleRExec(), SubRuleRFetch(), SubRuleRelate(), SubRuleSQLCompute(), SubRuleSet(), SubRuleSetObject(), SubRuleSetObjectId(), SubRuleUnRelate(), SubRuleUnSwizzle()

Methods (Including Private)

method Execute(pRule As Rule, pRuleSet As RuleDefinition, pContext As %RegisteredObject) as %Status [ Language = objectscript ]
Execute this Action.
method GenerateCode(pCompiler As Compiler, pActionNo As %Integer) as %Status [ Language = objectscript ]
Generate code for this action


index (ID on ActionNo) [IdKey, Type = key];
Make sure actions are ordered correctly
Index methods: IDCheck(), IDDelete(), IDExists(), IDOpen(), IDSQLCheckUnique(), IDSQLExists(), IDSQLFindPKeyByConstraint(), IDSQLFindRowIDByConstraint()

Inherited Members

Inherited Methods (Including Private)


Storage Model: Storage (Ens.Rule.SubAction)