Class UML 2.5::LoopNode
Description:
A LoopNode is a StructuredActivityNode that represents an iterative loop
with setup, test, and body sections.
Direct Superclasses: StructuredActivityNodeDirect Subclasses: Class Precedence List: LoopNode,
StructuredActivityNode,
Namespace,
ActivityGroup,
Action,
ExecutableNode,
ActivityNode,
RedefinableElement,
NamedElement,
ElementProperties:
![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
bodyOutput :
OutputPin (0 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
bodyPart :
ExecutableNode (0 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
decider :
OutputPin (1 1); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
isTestedFirst : Boolean (1 1); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
loopVariable :
OutputPin (0 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
loopVariableInput :
InputPin (0 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
result :
OutputPin (0 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
setupPart :
ExecutableNode (0 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
test :
ExecutableNode (1 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
activity :
Activity (0 1); -- source
StructuredActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
edge :
ActivityEdge (0 *); -- source
StructuredActivityNode![](/se-interop/image/right-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
mustIsolate : Boolean (1 1); -- source
StructuredActivityNodeIf true, then any object used by an Action within the StructuredActivityNode
cannot be accessed by any Action outside the node until the StructuredActivityNode
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 StructuredActivityNode.
Default value: FALSE
![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
node :
ActivityNode (0 *); -- source
StructuredActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
variable :
Variable (0 *); -- source
StructuredActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
elementImport :
ElementImport (0 *); -- source
Namespace![](/se-interop/image/right-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
importedMember :
PackageableElement (0 *); -- source
NamespaceReferences the PackageableElements that are members of this Namespace as
a result of either PackageImports or ElementImports.
{
readonly,
derived}
Subsets: Namespace.member
![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
member :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
ownedMember :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
ownedRule :
Constraint (0 *); -- source
Namespace![](/se-interop/image/right-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
packageImport :
PackageImport (0 *); -- source
NamespaceReferences the PackageImports owned by the Namespace.
{
composite}
Subsets: Element.ownedElement
Opposite: PackageImport.importingNamespace
![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
containedEdge :
ActivityEdge (0 *); -- source
ActivityGroup![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
containedNode :
ActivityNode (0 *); -- source
ActivityGroup![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
subgroup :
ActivityGroup (0 *); -- source
ActivityGroup![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
superGroup :
ActivityGroup (0 1); -- source
ActivityGroup![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
context :
Classifier (0 1); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
input :
InputPin (0 *); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
isLocallyReentrant : Boolean (1 1); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
localPostcondition :
Constraint (0 *); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
localPrecondition :
Constraint (0 *); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
output :
OutputPin (0 *); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
handler :
ExceptionHandler (0 *); -- source
ExecutableNode![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
inGroup :
ActivityGroup (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
inInterruptibleRegion :
InterruptibleActivityRegion (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
inPartition :
ActivityPartition (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
inStructuredNode :
StructuredActivityNode (0 1); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
incoming :
ActivityEdge (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
outgoing :
ActivityEdge (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
redefinedNode :
ActivityNode (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
isLeaf : Boolean (1 1); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
redefinedElement :
RedefinableElement (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
redefinitionContext :
Classifier (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
clientDependency :
Dependency (0 *); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
name : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
nameExpression :
StringExpression (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
namespace :
Namespace (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
qualifiedName : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
visibility :
VisibilityKind (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=35635%3A28FC4B1D370675EA0E137764B83373BD)
owner :
Element (0 1); -- source
ElementConstraints:
No additional constraints.
Operations:
Signature: sourceNodes() : ActivityNode;
Description: Return the loopVariable OutputPins in addition to other source nodes for
the LoopNode as a StructuredActivityNode.
Expression: result = (self.StructuredActivityNode::sourceNodes()->union(loopVariable))
Signature: allActions() : Action;
Description: Return only this LoopNode. This prevents Actions within the LoopNode from
having their OutputPins used as bodyOutputs or decider Pins in containing
LoopNodes or ConditionalNodes.
Expression: result = (self->asSet())
Send questions or comments to
[email protected].