Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / ENSLIB namespace / Ens.BPL.If
Private  Storage   

Ens.BPL.If


class Ens.BPL.If extends
Ens.BPL.Activity

This class represents the If Activity. A supplied condition expression is evaluated. If the condition evaluates to true the sequence of activities defined within the True activity list are executed. If the conditions evaluates to false then the sequence of activities defined within the False activity list are exectued. At least one of the True or False activity lists MUST be none empty.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
3 5


Summary


Properties
ActivityID Annotation Condition Disabled False
Name Parent True XEnd XPos
YEnd YPos

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%RemoveFromSaveSet %SerializeObject %SetModified %ValidateObject
DisabledGet DisplayName GenerateAnnotation GenerateCode
GenerateXML NormalizeAttribute Validate


Properties


• property Condition as %String;
This holds the selection condition
• property False as Ens.BPL.ActivityList;
This holds the activities to be performed if the condition evaluates to be false
• property True as Ens.BPL.ActivityList;
This holds the activities to be performed if the condition evaluates to true

Methods


• method GenerateCode(pCompiler As Ens.BPL.Compiler) as %Status
• method GenerateXML(pStream As %BinaryStream) as %Status
This generates the common XML attributes for this Activity
• method Validate(ByRef pStatus As %Status, pContext As Ens.BPL.ValidationContext) as %Status
Perform a sanity check on the nodes in the parse tree