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

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.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 1 5


Summary


Properties
Annotation Cases Disabled Expanded Parent

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
Deserialize DisplayName GenerateCode GenerateXML
NormalizeAttribute Serialize Validate WriteAnnotationXML
WriteExpandedAttribute


Parameters


• parameter TAGNAME = "switch";

Properties


• property Cases as Ens.DTL.CaseList;

Methods


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