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

class Ens.BPL.Code extends Ens.BPL.Activity

This class holds a block of user specified code which will be inlined in the generated business process. Use CDATA to allow use of XML metacharacters within the code body

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 6


Summary

Properties
ActivityID Annotation Code Disabled
LanguageOverride Name Parent PyFromImport
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
CopyTo DisabledGet DisplayName EscapeCDATA
GenerateAnnotation GenerateCode GenerateXML NormalizeAttribute
Validate


Properties

• property Code as %GlobalBinaryStream;
• property PyFromImport as %String;

Methods

• method CopyTo(pStream As %BinaryStream, pOutputXML As %Boolean, pLanguage As %String) as %Status
• method EscapeCDATA(pLine As %String) as %String
• 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


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