abstract class Ens.BPL.Activity
extends Ens.BPL.Node
Base class for all Activity nodes. An Activity is an action of some kind which
is executed by the BPL runtime
parameter SubActivities;
This holds the subactivity list
property ActivityID
as %Integer;
This holds the unique id for this activity
property Annotation
as %String(MAXLEN="");
This holds the user documentation for this Activity
property Disabled
as %Boolean;
This holds the 'disabled' status for the activity.
property LanguageOverride
as %String(VALUELIST=",python,objectscript,basic");
Optional setting. Sets the compilation language at level of activity.
To be useful, this will differ from the main BPL language.
Example 1: When the overall BPL is generating in ObjectScript mode, this setting can allow
a specific BPL Code block activity to accomodate Embedded Python source code.
Example 2: When the overall BPL is generating in ObjectScript mode, this setting can allow
a specific BPL Assignment activity expression to accomodate Embedded Python code expression.
property Name
as %String(MAXLEN=255);
This holds the name of the activity..For most activities this name is optional
but for some it is required e.g. Ens.BPL.Process
property XEnd
as %Integer;
This holds the X position for the associated closing shape of the gui representation of this node
property XPos
as %Integer;
This holds the X position of the gui representation of this node
property YEnd
as %Integer;
This holds the Y position for the associated closing shape of the gui representation of this node
property YPos
as %Integer;
This holds the Y position of the gui representation of this node
method DisabledGet()
as %Boolean
Determine whether this Activity is disabled
method DisplayName()
as %String
Provide a user readable string which identifies this node
method GenerateAnnotation(pStream As %BinaryStream)
method GenerateXML(pStream As %BinaryStream)
as %Status
This generates the common XML attributes for this Activity