InterSystems IRIS Data Platform 2020.4 > Class Reference > ENSLIB namespace > 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


parameter TAGNAME = switch;


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


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