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=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
bodyOutput :
OutputPin (0 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
bodyPart :
ExecutableNode (0 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
decider :
OutputPin (1 1); -- source
LoopNode![](/se-interop/image/right-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
isTestedFirst : Boolean (1 1); -- source
LoopNodeIf true, the test is performed before the first execution of the bodyPart.
If false, the bodyPart is executed once before the test is performed.
Default value: FALSE
![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
loopVariable :
OutputPin (0 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
loopVariableInput :
InputPin (0 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
result :
OutputPin (0 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
setupPart :
ExecutableNode (0 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
test :
ExecutableNode (1 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
activity :
Activity (0 1); -- source
StructuredActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
edge :
ActivityEdge (0 *); -- source
StructuredActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
mustIsolate : Boolean (1 1); -- source
StructuredActivityNode![](/se-interop/image/right-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
node :
ActivityNode (0 *); -- source
StructuredActivityNodeThe ActivityNodes immediately contained in the StructuredActivityNode.
{
composite}
Subsets: ActivityGroup.containedNode, Element.ownedElement
Opposite: ActivityNode.inStructuredNode
![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
variable :
Variable (0 *); -- source
StructuredActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
elementImport :
ElementImport (0 *); -- source
Namespace![](/se-interop/image/right-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
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=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
member :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
ownedMember :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
ownedRule :
Constraint (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
packageImport :
PackageImport (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
containedEdge :
ActivityEdge (0 *); -- source
ActivityGroup![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
containedNode :
ActivityNode (0 *); -- source
ActivityGroup![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
subgroup :
ActivityGroup (0 *); -- source
ActivityGroup![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
superGroup :
ActivityGroup (0 1); -- source
ActivityGroup![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
context :
Classifier (0 1); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
input :
InputPin (0 *); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
isLocallyReentrant : Boolean (1 1); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
localPostcondition :
Constraint (0 *); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
localPrecondition :
Constraint (0 *); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
output :
OutputPin (0 *); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
handler :
ExceptionHandler (0 *); -- source
ExecutableNode![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
inGroup :
ActivityGroup (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
inInterruptibleRegion :
InterruptibleActivityRegion (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
inPartition :
ActivityPartition (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
inStructuredNode :
StructuredActivityNode (0 1); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
incoming :
ActivityEdge (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
outgoing :
ActivityEdge (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
redefinedNode :
ActivityNode (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
isLeaf : Boolean (1 1); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
redefinedElement :
RedefinableElement (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
redefinitionContext :
Classifier (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
clientDependency :
Dependency (0 *); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
name : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
nameExpression :
StringExpression (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
namespace :
Namespace (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
qualifiedName : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
visibility :
VisibilityKind (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=12040%3AEF99715449DEA6CCBEBFE1B0362F7030)
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].