Book a Demo

Author Topic: How do you represent a ReadStructuralFeatureAction on sequence diagram?  (Read 3225 times)

mse

  • EA User
  • **
  • Posts: 308
  • Karma: +1/-0
    • View Profile
A ReadStructuralFeatureAction is defined in the UML standard in an activity diagram. However, as we all know, we can switch perspectives and show the same information in an activity diagram. How do you show a ReadStructuralFeatureAction in a sequence diagram?

I think because it is a subclass of the Action metaclass, then it would be a self-message on a the lifeline that owns the structural feature. however, what would the signature of that self-message look like?

The same question applies for AddStructuralFeatureAction.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: How do you represent a ReadStructuralFeatureAction on sequence diagram?
« Reply #1 on: September 09, 2022, 01:04:19 am »
An action can be represented as a message (for a CallBehavior). Likely you can do the same for this special one probably using a return value for the read result.

For a more qualified answer you might ask this on StackOverflow.

q.
« Last Edit: September 09, 2022, 01:05:53 am by qwerty »