The number.append Activity as entry Behavior for the PartialDial State

Gallery
Tutorial
Before proceeding, recall that:
The Activity name number.append was contrived to match the (seemingly equally contrived) notation used in the UML-2.5.1 spec Figure 14.7, it is NOT a recommended Activity name!
Click on the image to view it full size

If you've been following this tutorial you'll already know the sequence of InitialNode, ReadSelfAction, and ReadStructuralFeatureAction to get at number:Number - noting that the context class here is Dialer. Then a CallOperationAction is used to execute the operation append(n:int).

But where does the value for the input Parameter corresponding to that ActivityParameterNode n:int come from? It is "magically" matched against the Parameter of the Operation digit(n:int) from Dialer of the CallEvent trigger that was used on the Transitions that enter the Dialing State!

Now let's see how append(n:int) works

Up next
Notes
Snippets (quotes/extracts)
Visit also
Visit also (backlinks)
Related slides (includes other tutorials)
Related slides (backlinks, includes other tutorials)