InterSystems IRIS Data Platform 2020.4 > Class Reference > ENSLIB namespace > Ens.BPL.Branch

Ens.BPL.Branch

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

Property Inventory (Including Private)

Method Inventory (Including Private)

Properties (Including Private)

property Condition as %String [ Required ];
This holds the condition to be evaluated
Property methods: ConditionDisplayToLogical(), ConditionGet(), ConditionIsValid(), ConditionLogicalToDisplay(), ConditionLogicalToOdbc(), ConditionNormalize(), ConditionSet()
property Label as %String [ Required ];
This holds the label to transfer control to if the condition is true
Property methods: LabelDisplayToLogical(), LabelGet(), LabelIsValid(), LabelLogicalToDisplay(), LabelLogicalToOdbc(), LabelNormalize(), LabelSet()

Methods (Including Private)

method GenerateCode(pCompiler As Ens.BPL.Compiler) as %Status [ Language = objectscript ]
method GenerateXML(pStream As %BinaryStream) as %Status [ Language = objectscript ]
Inherited description: This generates the common XML attributes for this Activity
method Validate(ByRef pStatus As %Status, pContext As Ens.BPL.ValidationContext) as %Status [ Language = objectscript ]
Perform a sanity check on the nodes in the parse tree
private method activityName() as %String [ Language = objectscript ]
Provide a user readable string which names the activity

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)

Feedback