Author Topic: showing message name on a return message in sequence diagram  (Read 1114 times)

mse

  • EA User
  • **
  • Posts: 303
  • Karma: +1/-0
    • View Profile
showing message name on a return message in sequence diagram
« on: April 19, 2024, 07:12:17 pm »
I understand how to choose the operation and assign the return to an attribute of the calling object. What I don't understand is how do you show the message name on the return arrow?



In the example above, the return arrow has the message name (as per the UML standard). However, I cannot select the operation because EA rightfully enforces the rule that an operation has to belong to the target object for it to show in the list of operations. However, for a return arrow that is a different case, it's the return of the original operation (year message). Do I really have to type this in manually? I would like to avoid the possibility of human error like a typo.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: showing message name on a return message in sequence diagram
« Reply #1 on: April 19, 2024, 09:33:06 pm »
See p. 579 of UML 2.5.1. You specify the return in the sending message. The reply is unlabeled (it's obviously comming from the message above).

q.