Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: zyx on January 21, 2016, 11:11:36 pm

Title: Use relationship
Post by: zyx on January 21, 2016, 11:11:36 pm
Dear all,

     As always, I apologize for my bad english...

     The use relationship in the use cases diagram was deprecated? I am reading the UML 2.5 formal documentation and I am founding nothing about this relationship in the section about use cases. There is no a metaclass to represent this association in the use case metamodel too. I found documentation about include and extend but nothing about the use relationship... It is no more a valid relationship to be applied in the use case diagram?
Title: Re: Use relationship
Post by: qwerty on January 22, 2016, 02:18:00 am
You may still use <<use>> if you find it useful (pun intended). Just create your own stereotype, describe it's meaning and you are done.

q.
Title: Re: Use relationship
Post by: zyx on January 22, 2016, 03:56:10 am
Right, but the relationship is not an official relationship in UML anymore? I am just curious, old books present it as a valid relationship to be applied in the use case diagram...
Title: Re: Use relationship
Post by: Geert Bellekens on January 22, 2016, 05:14:07 am
There is still a Usage relation defined in the meta model as a subclass of Dependency. (See UML 2.5 §7.8.23 on page 60)
It uses the «use» keyword to indicate the difference between a Usage and a regular Dependency (see the last keyword of Annex C: Keywords)

The definition says:
Quote
A Usage is a Dependency in which the client Element requires the supplier Element (or set of Elements) for its full
implementation or operation.

But I would not recommend it. I've done loads of Use Cases, and I never used the Usage, nor did I ever feel I needed something vague like that.

Geert
Title: Re: Use relationship
Post by: qwerty on January 22, 2016, 06:39:25 am
Partially/temporarily (can't remember exactly) we used the <<use>> to indicate secondary actors. That wasn't too devious.

q.