StructuredActivityNode
Represents a structured portion of the activity that is not shared with any other structured node.
A structured activity node represents a structured portion of the activity that is not shared with any other structured node, except for nesting. It may have control edges connected to it and pins. The execution of any embedded actions may not begin until the structured activity node has received its object and control tokens. The availability of output tokens from the structured activity node does not occur until all embedded actions have completed execution. In order to avoid race conditions or other concurrency-related problems, it is sometimes necessary to isolate the effects of a group of actions from the effects of actions outside the group. This may be indicated by setting the mustIsolate attribute to true on a structured activity node. In this case, any object used by an action within the node cannot be accessed by any action outside the node until the structured activity node as a whole completes.
: StructuredActivityNode (architecture_autodiagram)
Figure 131 : StructuredActivityNode (architecture_autodiagram)
StructuredActivityNodeActivityActionActivityNodeConditionalNodeExpansionRegionLoopNode
Attribute
Description
boolean MustIsolate [1..1]
If true, then the actions in the node execute in isolation from actions outside the node. Default value is false. Because of the concurrent nature of the execution of actions within and across activities, it can be difficult to guarantee the consistent access and modification of object memory. In order to avoid race conditions or other concurrency-related problems, it is sometimes necessary to isolate the effects of a group of actions from the effects of actions outside the true on a structured activity node. If a structured group. This may be indicated by setting the mustIsolate attribute to activity node is 'isolated', then any object used by an action within the node cannot be accessed by any action outside the node until the structured activity node as a whole completes. Any concurrent actions that would result in accessing such objects are required to have their execution deferred until the completion of the node. UML Superstructure Specification, v2.1 425 Note : Any required isolation may be achieved using a locking mechanism, or it may simply sequentialize execution to avoid concurrency conflicts. Isolation is different from the property of 'atomicity', which is the guarantee that a group of actions either all complete successfully or have no effect at all. Atomicity generally requires a rollback mechanism to prevent committing partial results.
Association
Description
Body : ActivityNode [0..*]
Implementation of the structured activity node.