Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [Ens] >  [Rule] >  [SubAction]
Private  Storage   

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

SQL Table Name: SubRuleAction

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

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 2 2 1


Summary

Properties
ActionNo SubRule

Methods
%AddToSaveSet %AddToSyncSet %BMEBuilt %CheckConstraints
%CheckConstraintsForExtent %ClassIsLatestVersion %ClassName %ComposeOid
%ConstructClone %Delete %DeleteExtent %DeleteId
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Exists
%ExistsId %Extends %GUID %GUIDSet
%GetLock %GetParameter %GetSwizzleObject %Id
%InsertBatch %IsA %IsModified %IsNull
%KillExtent %KillExtentData %LoadFromMemory %LockExtent
%LockId %New %NormalizeObject %ObjectIsNull
%ObjectModified %Oid %OnBeforeAddToSync %OnDetermineClass
%Open %OpenId %OriginalNamespace %PackageName
%PhysicalAddress %PurgeIndices %Reload %RemoveFromSaveSet
%ResolveConcurrencyConflict %RollBack %Save %SaveDirect
%SaveIndices %SerializeObject %SetModified %SortBegin
%SortEnd %SyncObjectIn %SyncTransport %UnlockExtent
%UnlockId %ValidateIndices %ValidateObject Execute
GenerateCode XMLDTD XMLExport XMLExportToStream
XMLExportToString XMLNew XMLSchema XMLSchemaNamespace
XMLSchemaType

Subclasses
Ens.Rule.SubAssign

Parameters

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

Properties

• property ActionNo as %Integer(XMLPROJECTION="none") [ InitialExpression = $I(^Ens.Rule.RuleC("ActionNo")) ];
• relationship SubRule as Ens.Rule.SubRule [ Inverse = Actions,Cardinality = parent ];
Parent Rule.

Methods

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

Indices

•index (ID on ActionNo) [IdKey];
Make sure actions are ordered correctly


Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.