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=18999%3A9B7E994D18E0D674A39B3B5408F96450)
bodyOutput :
OutputPin (0 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
bodyPart :
ExecutableNode (0 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
decider :
OutputPin (1 1); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
isTestedFirst : Boolean (1 1); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
loopVariable :
OutputPin (0 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
loopVariableInput :
InputPin (0 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
result :
OutputPin (0 *); -- source
LoopNode![](/se-interop/image/right-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
setupPart :
ExecutableNode (0 *); -- source
LoopNodeThe set of ExecutableNodes executed before the first iteration of the loop,
in order to initialize values or perform other setup computations.
![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
test :
ExecutableNode (1 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
activity :
Activity (0 1); -- source
StructuredActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
edge :
ActivityEdge (0 *); -- source
StructuredActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
mustIsolate : Boolean (1 1); -- source
StructuredActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
node :
ActivityNode (0 *); -- source
StructuredActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
variable :
Variable (0 *); -- source
StructuredActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
elementImport :
ElementImport (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
importedMember :
PackageableElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
member :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
ownedMember :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
ownedRule :
Constraint (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
packageImport :
PackageImport (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
containedEdge :
ActivityEdge (0 *); -- source
ActivityGroup![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
containedNode :
ActivityNode (0 *); -- source
ActivityGroup![](/se-interop/image/right-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
subgroup :
ActivityGroup (0 *); -- source
ActivityGroupOther ActivityGroups immediately contained in this ActivityGroup.
{
composite,
readonly}
Derived union with sources: ()
Subsets: Element.ownedElement
Opposite: ActivityGroup.superGroup
![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
superGroup :
ActivityGroup (0 1); -- source
ActivityGroup![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
context :
Classifier (0 1); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
input :
InputPin (0 *); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
isLocallyReentrant : Boolean (1 1); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
localPostcondition :
Constraint (0 *); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
localPrecondition :
Constraint (0 *); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
output :
OutputPin (0 *); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
handler :
ExceptionHandler (0 *); -- source
ExecutableNode![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
inGroup :
ActivityGroup (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
inInterruptibleRegion :
InterruptibleActivityRegion (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
inPartition :
ActivityPartition (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
inStructuredNode :
StructuredActivityNode (0 1); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
incoming :
ActivityEdge (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
outgoing :
ActivityEdge (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
redefinedNode :
ActivityNode (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
isLeaf : Boolean (1 1); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
redefinedElement :
RedefinableElement (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
redefinitionContext :
Classifier (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
clientDependency :
Dependency (0 *); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
name : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
nameExpression :
StringExpression (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
namespace :
Namespace (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
qualifiedName : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
visibility :
VisibilityKind (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=18999%3A9B7E994D18E0D674A39B3B5408F96450)
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].