InterSystems IRIS Data Platform 2020.4 > Class Reference > ENSLIB namespace > Ens.DTL.Switch

Ens.DTL.Switch

class Ens.DTL.Switch extends Ens.DTL.Action

Allows conditions to be evaluated and actions to be performed depending upon their truth value.

Property Inventory

Method Inventory

Parameters

parameter TAGNAME = switch;

Properties

property Cases as Ens.DTL.CaseList;
Property methods: CasesGet(), CasesGetSwizzled(), CasesIsValid(), CasesNewObject(), CasesSet()

Methods

method DisplayName() as %String [ Language = objectscript ]
Provide a user readable string which identifies this node
method GenerateCode(pCompiler As Ens.DTL.Compiler) as %Status [ Language = objectscript ]
method GenerateXML(pStream As %BinaryStream) as %Status [ Language = objectscript ]
method Validate(ByRef pStatus As %Status, pContext As Ens.DTL.ValidationContext) as %Status [ Language = objectscript ]
Perform a sanity check on the nodes in the parse tree

Inherited Members

Inherited Properties

Inherited Methods

Feedback