Previous | UML Classes | Table of Contents | UML Packages | Next |
•
InputPin (from BasicActions ) on page 266
An action input pin is a kind of pin that executes an action to determine the values to input to another.
No additional attributes
Issue 8148 -add subsets constraint
• fromAction : Action [1] The action used to provide values. {Subsets Element::ownedElement}
[1] The fromAction of an action input pin must have exactly one output pin.
[2] The fromAction of an action input pin must only have action input pins as input pins.
[3] The fromAction of an action input pin cannot have control or data flows coming into or out of it or its pins.
If an action is otherwise enabled, the fromActions on action input pins are enabled. The outputs of these are used as the
values of the corresponding input pins. The process recurs on the input pins of the fromActions, if they also have action
input pins. The recursion bottoms out at actions that have no inputs, such as for read variables or the self object. This
forms a tree that is an action model for nested expressions.
No specific notation
Example (in action language provided just for example, not normative):
self.foo->bar(self.baz);
meaning get the foo attribute of self, then send a bar signal to it with argument from the baz attribute of self. The repository
model is shown below.
Issue 8148 - change ‘action’ to ‘fromAction’ in 2 places
+signal
+target
+fromActi on
+structuralFeature
+result
+object
+fromActi on
+result
+obj ect
+fromActi on
+resul t
Figure 11.22 - Example repository model
ActionInputPin is introduced to pass values between actions in expressions without using flows.