Author Topic: How to: SysML lifeline delete message in Sequence Diagrams  (Read 3396 times)

Miguel

  • EA User
  • **
  • Posts: 48
  • Karma: +1/-0
    • View Profile
In EA 15.1 (1528) I'm working on a Sequence Diagram in SysML.  I can send a lifeline creation message to a lifeline (connect to the lifeline head).  But what I can't figure out how to do is to do the lifeline destruction message to the lifeline.  Here is what I want it to look like, from Lenny Delegatti training:

Where the uninstall() message is a delete message that connects to the X at the end of the lifeline.  It's not a behavior call, but a lifeline destruction occurrence.

But the closest I can get in EA is this, where an operation is invoked and the lifeline self-terminates after:



which is done via the properties as below:



This isn't quite what I want, though.  I'd like to do something as shown in the first image above.  Does anyone know how to do this in EA?

Thanks.


qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: How to: SysML lifeline delete message in Sequence Diagrams
« Reply #1 on: May 09, 2020, 05:20:36 pm »
I'd say your desire is wrong. An object does not dies instantly with a destruction message but will perform some cleanup and then die. So EA's presentation reflects reality. Yours doesn't.

q.

Miguel

  • EA User
  • **
  • Posts: 48
  • Karma: +1/-0
    • View Profile
Re: How to: SysML lifeline delete message in Sequence Diagrams
« Reply #2 on: May 11, 2020, 04:05:52 am »
OK, well, I can get around it by using the construct above.  I've seen use of the message directly to the lifeline destruction referenced in two different SysML books.  The intent is not to destroy an object, but to end participation of the lifeline.  But, to your point, I can change my view of it at make it more of a delete() invocation, which is fine.

Thanks for the help.

Miguel.