Class Reference
IRIS for UNIX 2024.1.2
InterSystems: The power behind what matters   
Documentation  Search
  [USER] >  [Ens] >  [BPL] >  [Branch]
Private  Storage   

class Ens.BPL.Branch extends Ens.BPL.Activity

Represents a branch activity. When this activity is performed, control is transferred to the named label activity if and only if the supplied condition is true. Only labels within scope may be branched to. For example you cannot transfer control out of a 'Flow' or 'Scope' activity

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 4


Summary

Properties
ActivityID Annotation Condition Disabled
Label LanguageOverride Name Parent
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 [ Required ];
This holds the condition to be evaluated
• property Label as %String [ Required ];
This holds the label to transfer control to if the condition is 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


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