Book a Demo

Author Topic: Profile for message in sequence diagram  (Read 2898 times)

Frédéric C

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Profile for message in sequence diagram
« on: November 23, 2013, 07:35:21 am »
Hi,

I've defined a UML profile (using helpers) and I'm able to create classes and connectors with the desired stereotype, tagged values, shape, no problems.

Now I can't figure how to set a stereotype usable with my toolbox to allow message's creation in sequence diagram directly as "asynchronous" (flow control).

My metaclass «Message» has been created by the helper with the attributes «messageSort» and «MessageKind». They seem to be the key ... although I can't figure how to set them as I want.

Same question with the message's parameter «is returned».

Any ideas ?

ewald

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Profile for message in sequence diagram
« Reply #1 on: November 21, 2018, 07:54:24 am »
From the UML 2.5.1 Specification:

17.12.20 MessageKind [Enumeration]

17.12.22.1 Description
This is an enumerated type that identifies the type of communication action that was used to generate the Message.

17.12.20.3 Literals
  • complete - sendEvent and receiveEvent are present
  • lost - sendEvent present and receiveEvent absent
  • found - sendEvent absent and receiveEvent present
  • unknown - sendEvent and receiveEvent absent (should not appear)

17.12.22 MessageSort [Enumeration]

17.12.22.1 Description
This is an enumerated type that identifies the type of communication action that was used to generate the Message.

17.12.22.3 Literals
  • synchCall - The message was generated by a synchronous call to an operation.
  • asynchCall - The message was generated by an asynchronous call to an operation; i.e., a CallAction with isSynchronous = false.
  • asynchSignal - The message was generated by an asynchronous send action.
  • createMessage - The message designating the creation of another lifeline object.
  • deleteMessage - The message designating the termination of another lifeline.
  • reply - The message is a reply message to an operation call.