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=161895%3A913BD76F43F149760D1DDA78FAA03E76)
bodyOutput :
OutputPin (0 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
bodyPart :
ExecutableNode (0 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
decider :
OutputPin (1 1); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
isTestedFirst : Boolean (1 1); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
loopVariable :
OutputPin (0 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
loopVariableInput :
InputPin (0 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
result :
OutputPin (0 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
setupPart :
ExecutableNode (0 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
test :
ExecutableNode (1 *); -- source
LoopNode![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
activity :
Activity (0 1); -- source
StructuredActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
edge :
ActivityEdge (0 *); -- source
StructuredActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
mustIsolate : Boolean (1 1); -- source
StructuredActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
node :
ActivityNode (0 *); -- source
StructuredActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
variable :
Variable (0 *); -- source
StructuredActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
elementImport :
ElementImport (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
importedMember :
PackageableElement (0 *); -- source
Namespace![](/se-interop/image/right-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
member :
NamedElement (0 *); -- source
NamespaceA collection of NamedElements identifiable within the Namespace, either
by being owned or by being introduced by importing or inheritance.
{
readonly}
Derived union with sources: (ownedRule, ownedMember, importedMember, variable)
![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
ownedMember :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
ownedRule :
Constraint (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
packageImport :
PackageImport (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
containedEdge :
ActivityEdge (0 *); -- source
ActivityGroup![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
containedNode :
ActivityNode (0 *); -- source
ActivityGroup![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
subgroup :
ActivityGroup (0 *); -- source
ActivityGroup![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
superGroup :
ActivityGroup (0 1); -- source
ActivityGroup![](/se-interop/image/right-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
context :
Classifier (0 1); -- source
ActionThe context Classifier of the Behavior that contains this Action, or the
Behavior itself if it has no context.
{
readonly,
derived}
![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
input :
InputPin (0 *); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
isLocallyReentrant : Boolean (1 1); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
localPostcondition :
Constraint (0 *); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
localPrecondition :
Constraint (0 *); -- source
Action![](/se-interop/image/right-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
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=161895%3A913BD76F43F149760D1DDA78FAA03E76)
handler :
ExceptionHandler (0 *); -- source
ExecutableNode![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
inGroup :
ActivityGroup (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
inInterruptibleRegion :
InterruptibleActivityRegion (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
inPartition :
ActivityPartition (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
inStructuredNode :
StructuredActivityNode (0 1); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
incoming :
ActivityEdge (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
outgoing :
ActivityEdge (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
redefinedNode :
ActivityNode (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
isLeaf : Boolean (1 1); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
redefinedElement :
RedefinableElement (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
redefinitionContext :
Classifier (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
clientDependency :
Dependency (0 *); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
name : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
nameExpression :
StringExpression (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
namespace :
Namespace (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
qualifiedName : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
visibility :
VisibilityKind (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/right-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
ownedElement :
Element (0 *); -- source
ElementThe Elements owned by this Element.
{
composite,
readonly}
Derived union with sources: (ownedComment, nameExpression, handler, output, localPrecondition, localPostcondition, input, subgroup, packageImport, ownedRule, ownedMember, elementImport, variable, node, edge, result, loopVariableInput, loopVariable)
Opposite: Element.owner
![](/se-interop/image/down-arrow.png?hunchentoot-session=161895%3A913BD76F43F149760D1DDA78FAA03E76)
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].