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=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
bodyOutput :
OutputPin (0 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
bodyPart :
ExecutableNode (0 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
decider :
OutputPin (1 1); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
isTestedFirst : Boolean (1 1); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
loopVariable :
OutputPin (0 *); -- source
LoopNode![](/se-interop/image/right-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
loopVariableInput :
InputPin (0 *); -- source
LoopNodeA list of InputPins whose values are moved into the loopVariable Pins before
the first iteration of the loop.
{
composite,
ordered}
Subsets: Action.input
Redefines: StructuredActivityNode.structuredNodeInput
![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
result :
OutputPin (0 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
setupPart :
ExecutableNode (0 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
test :
ExecutableNode (1 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
activity :
Activity (0 1); -- source
StructuredActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
edge :
ActivityEdge (0 *); -- source
StructuredActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
mustIsolate : Boolean (1 1); -- source
StructuredActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
node :
ActivityNode (0 *); -- source
StructuredActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
variable :
Variable (0 *); -- source
StructuredActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
elementImport :
ElementImport (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
importedMember :
PackageableElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
member :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
ownedMember :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
ownedRule :
Constraint (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
packageImport :
PackageImport (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
containedEdge :
ActivityEdge (0 *); -- source
ActivityGroup![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
containedNode :
ActivityNode (0 *); -- source
ActivityGroup![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
subgroup :
ActivityGroup (0 *); -- source
ActivityGroup![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
superGroup :
ActivityGroup (0 1); -- source
ActivityGroup![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
context :
Classifier (0 1); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
input :
InputPin (0 *); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
isLocallyReentrant : Boolean (1 1); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
localPostcondition :
Constraint (0 *); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
localPrecondition :
Constraint (0 *); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
output :
OutputPin (0 *); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
handler :
ExceptionHandler (0 *); -- source
ExecutableNode![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
inGroup :
ActivityGroup (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
inInterruptibleRegion :
InterruptibleActivityRegion (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
inPartition :
ActivityPartition (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
inStructuredNode :
StructuredActivityNode (0 1); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
incoming :
ActivityEdge (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
outgoing :
ActivityEdge (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
redefinedNode :
ActivityNode (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
isLeaf : Boolean (1 1); -- source
RedefinableElement![](/se-interop/image/right-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
redefinedElement :
RedefinableElement (0 *); -- source
RedefinableElementThe RedefinableElement that is being redefined by this element.
{
readonly}
Derived union with sources: (redefinedNode)
![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
redefinitionContext :
Classifier (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
clientDependency :
Dependency (0 *); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
name : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
nameExpression :
StringExpression (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
namespace :
Namespace (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
qualifiedName : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
visibility :
VisibilityKind (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=100699%3AE4A8D4B6DAE2C790AB27A50D70BC7A32)
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].