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=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
bodyOutput :
OutputPin (0 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
bodyPart :
ExecutableNode (0 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
decider :
OutputPin (1 1); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
isTestedFirst : Boolean (1 1); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
loopVariable :
OutputPin (0 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
loopVariableInput :
InputPin (0 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
result :
OutputPin (0 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
setupPart :
ExecutableNode (0 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
test :
ExecutableNode (1 *); -- source
LoopNode![](/se-interop/image/right-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
activity :
Activity (0 1); -- source
StructuredActivityNodeThe Activity immediately containing the StructuredActivityNode, if it is
not contained in another StructuredActivityNode.
Subsets: Element.owner
Redefines: ActivityGroup.inActivity
Opposite: Activity.structuredNode
![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
edge :
ActivityEdge (0 *); -- source
StructuredActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
mustIsolate : Boolean (1 1); -- source
StructuredActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
node :
ActivityNode (0 *); -- source
StructuredActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
variable :
Variable (0 *); -- source
StructuredActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
elementImport :
ElementImport (0 *); -- source
Namespace![](/se-interop/image/right-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
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=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
member :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
ownedMember :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
ownedRule :
Constraint (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
packageImport :
PackageImport (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
containedEdge :
ActivityEdge (0 *); -- source
ActivityGroup![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
containedNode :
ActivityNode (0 *); -- source
ActivityGroup![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
subgroup :
ActivityGroup (0 *); -- source
ActivityGroup![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
superGroup :
ActivityGroup (0 1); -- source
ActivityGroup![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
context :
Classifier (0 1); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
input :
InputPin (0 *); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
isLocallyReentrant : Boolean (1 1); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
localPostcondition :
Constraint (0 *); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
localPrecondition :
Constraint (0 *); -- source
Action![](/se-interop/image/right-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
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=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
handler :
ExceptionHandler (0 *); -- source
ExecutableNode![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
inGroup :
ActivityGroup (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
inInterruptibleRegion :
InterruptibleActivityRegion (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
inPartition :
ActivityPartition (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
inStructuredNode :
StructuredActivityNode (0 1); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
incoming :
ActivityEdge (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
outgoing :
ActivityEdge (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
redefinedNode :
ActivityNode (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
isLeaf : Boolean (1 1); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
redefinedElement :
RedefinableElement (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
redefinitionContext :
Classifier (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
clientDependency :
Dependency (0 *); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
name : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
nameExpression :
StringExpression (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
namespace :
Namespace (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
qualifiedName : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
visibility :
VisibilityKind (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=52949%3A6C4D2FCF7627A8CB6F1BA98BBD496E74)
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].