Book a Demo

Author Topic: HowTo: Set up a relationship Send/Receive Signal?  (Read 14394 times)

RainerQ

  • EA User
  • **
  • Posts: 122
  • Karma: +1/-0
    • View Profile
HowTo: Set up a relationship Send/Receive Signal?
« on: July 22, 2010, 08:36:12 pm »
Hi

is there a possibility in EA to define a relation ship between a Send-Signal (activity) and Receive-Signal (activity) which are located on different activity diagrams?

Thanks for hints and help.

Regards
Rainer

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: HowTo: Set up a relationship Send/Receive Sign
« Reply #1 on: July 23, 2010, 09:07:54 am »
With the appropriate options set, if necessary,  you can create any type of relationship between any two items in the model - by placing both on the same diagram and drawing the relationship type you want.

The diagram is NOT the model; it is a VIEW into the model (not withstanding the UML requirement that the activity diagram IS the activity).

HTH,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

RainerQ

  • EA User
  • **
  • Posts: 122
  • Karma: +1/-0
    • View Profile
Re: HowTo: Set up a relationship Send/Receive Sign
« Reply #2 on: July 23, 2010, 05:04:32 pm »
Hi Paolo,

thanks for your hint! I think it switched on a other light in one of the EA-rooms I am exploring  :)

As in my case, where I want to depict the "myEvent.Set" and "myEvent.WaitOne(...)" behavior, what would you use?
"Trace" or "Information Flow"? Or even something else?

Regards
Rainer

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: HowTo: Set up a relationship Send/Receive Sign
« Reply #3 on: July 23, 2010, 05:32:20 pm »
Quote
[size=18]...[/size]
As in my case, where I want to depict the "myEvent.Set" and "myEvent.WaitOne(...)" behavior, what would you use?
"Trace" or "Information Flow"? Or even something else?
Hi Rainer,

I'll leave it up to the folks who live in the "Real time" world to provide that advice.  I move in the more Enterprise level area.

Glad to have helped,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: HowTo: Set up a relationship Send/Receive Sign
« Reply #4 on: July 25, 2010, 10:08:06 pm »
myEventWait depends on... both temporaly and structurally.
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.

RainerQ

  • EA User
  • **
  • Posts: 122
  • Karma: +1/-0
    • View Profile
Re: HowTo: Set up a relationship Send/Receive Sign
« Reply #5 on: July 26, 2010, 03:06:00 am »
... so, what would you use?
Trace or information flow?

Regards
Rainer

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: HowTo: Set up a relationship Send/Receive Sign
« Reply #6 on: July 26, 2010, 08:45:25 am »
I think bruce's (sargasso's) answer was "Dependency".
The Sparx Team
[email protected]

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: HowTo: Set up a relationship Send/Receive Sign
« Reply #7 on: July 26, 2010, 08:12:10 pm »
yup
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: HowTo: Set up a relationship Send/Receive Sign
« Reply #8 on: July 26, 2010, 10:01:08 pm »
Quote
... between a Send-Signal (activity) and Receive-Signal (activity) which are located on different activity diagrams?...
FWIW

You might want to add a diagram - preserving the logic of your model to date - where you can show this relationship. If these elements are related in some way that matters (i.e. contributes to the overall integrity of the system) then the relationship should be explicitly depicted in your model. Perhaps you will find other instances where relationships span diagrams (or otherwise cross partitions in your model). These could be shown (perhaps grouped) on other such diagrams, which might themselves be packaged together for ease of reference.

Just adding my 0.02 CAD, whatever that's worth these days.

David
No, you can't have it!