Visualization of lifeline with metaclass stereotype incorrect in some cases

Issue #57 resolved
Matthias Schoettle created an issue

In the Singleton aspect the message view for getInstance shows two lifelines which are shown as the metaclass Singleton. However, when the instance is created, the create message goes to the actual class.

This is due to the reference that represents the lifeline. It is set to static. The current implementation might be incorrect, because it depends on the call to the lifeline. It might be necessary to have a property on lifeline to identify it as the metaclass (or not).

Investigate how it is done in UML and how we can resolve this properly.

Comments (2)

  1. Log in to comment