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=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
bodyOutput :
OutputPin (0 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
bodyPart :
ExecutableNode (0 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
decider :
OutputPin (1 1); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
isTestedFirst : Boolean (1 1); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
loopVariable :
OutputPin (0 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
loopVariableInput :
InputPin (0 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
result :
OutputPin (0 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
setupPart :
ExecutableNode (0 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
test :
ExecutableNode (1 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
activity :
Activity (0 1); -- source
StructuredActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
edge :
ActivityEdge (0 *); -- source
StructuredActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
mustIsolate : Boolean (1 1); -- source
StructuredActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
node :
ActivityNode (0 *); -- source
StructuredActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
variable :
Variable (0 *); -- source
StructuredActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
elementImport :
ElementImport (0 *); -- source
Namespace![](/se-interop/image/right-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
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=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
member :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
ownedMember :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
ownedRule :
Constraint (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
packageImport :
PackageImport (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
containedEdge :
ActivityEdge (0 *); -- source
ActivityGroup![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
containedNode :
ActivityNode (0 *); -- source
ActivityGroup![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
subgroup :
ActivityGroup (0 *); -- source
ActivityGroup![](/se-interop/image/right-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
superGroup :
ActivityGroup (0 1); -- source
ActivityGroupThe ActivityGroup immediately containing this ActivityGroup, if it is directly
owned by another ActivityGroup.
{
readonly}
Derived union with sources: ()
Subsets: Element.owner
Opposite: ActivityGroup.subgroup
![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
context :
Classifier (0 1); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
input :
InputPin (0 *); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
isLocallyReentrant : Boolean (1 1); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
localPostcondition :
Constraint (0 *); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
localPrecondition :
Constraint (0 *); -- source
Action![](/se-interop/image/right-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
output :
OutputPin (0 *); -- source
ActionThe ordered set of OutputPins representing outputs from the Action.
{
composite,
readonly,
ordered}
Derived union with sources: (result)
Subsets: Element.ownedElement
![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
handler :
ExceptionHandler (0 *); -- source
ExecutableNode![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
inGroup :
ActivityGroup (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
inInterruptibleRegion :
InterruptibleActivityRegion (0 *); -- source
ActivityNode![](/se-interop/image/right-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
inPartition :
ActivityPartition (0 *); -- source
ActivityNodeActivityPartitions containing the ActivityNode.
Subsets: ActivityNode.inGroup
Opposite: ActivityPartition.node
![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
inStructuredNode :
StructuredActivityNode (0 1); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
incoming :
ActivityEdge (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
outgoing :
ActivityEdge (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
redefinedNode :
ActivityNode (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
isLeaf : Boolean (1 1); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
redefinedElement :
RedefinableElement (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
redefinitionContext :
Classifier (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
clientDependency :
Dependency (0 *); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
name : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
nameExpression :
StringExpression (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
namespace :
Namespace (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
qualifiedName : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
visibility :
VisibilityKind (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=7386%3AE2FB82FC2245D6498A2F55A38CBAD0DB)
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].