Book a Demo

Author Topic: Event (Signal) Receiptions  (Read 15480 times)

Polymorph

  • EA User
  • **
  • Posts: 136
  • Karma: +4/-0
    • View Profile
Event (Signal) Receiptions
« on: October 13, 2015, 09:13:01 am »
I wish to model an asynchornous message sent from an actor into my system on a SysML Sequence Diagram.

I have created a signal element in my model and have created a message from my actor to my system. I have set the "Control Flow Type Sync" to "Asynchoronous" and the Kind to "Signal" on the message properties dialogue.  I have then selected the appropriate «signal» that I want this message to represent by pressing the "signal" button on the same dialogue screen and locating it within the browser.

Now I want to specify a reception on the target block...

I read in the EA help that:
"To define a reception, create an operation in the receiving object and assign the stereotype <<signal>> to it. The reception has the same name as the signal that the object can receive."

see http://www.sparxsystems.com/enterprise_architect_user_guide/8.0/modeling_languages/signal_element.html

When I did this, I noticed that the list of predefined stereotypes available for an operation did not include «signal» (or "reception" or anything else that looked relevant). I therefore concluded that I simply had to type the name of the stereotype into the box rather than browse for it...

I have done this as described and the block representing my system now has a stereotyped operation with the same name as my signal...

Now my question:
What links (if any) exist between this (supposed) reception and the signal itself?

Background:
I want there to be traceability between the signal events I create in my model and the receptions themselves. It is of little use to me to have an operation with a name that matches the signal - what happens if in time the signal name were to change? Would I have to go through and manually change all receptions?

I plan to use these sequence diagrams to create «Interface Blocks» to type «Proxy Ports»

Note: when I am creating my sequence diagrams I drag the target block onto the diagram as a "link" not a "lifeline". I don't know what advantages/disadvantages that might cause (other than preventing my model from rapidly filling up with multiple instances of my blocks!)

Polymorph

  • EA User
  • **
  • Posts: 136
  • Karma: +4/-0
    • View Profile
Re: Event (Signal) Receiptions
« Reply #1 on: October 13, 2015, 09:06:39 pm »
One way to do this is to add a flow property to the target block and then to type it by the signal. Then, in the sequence diagram you can right-click on the message Go Advanced>Information Flows Realised and point towards the signal. That allows your sequence diagram to tie up with the signal and also shows what particular signal the message is assocated with.

I'd still welcome any other recommendations...