用例图:用例的几个参与者,只有一些可以访问扩展用例 [英] Use case diagram: of several actors of a use case, only some have access to an extending use case

查看:142
本文介绍了用例图:用例的几个参与者,只有一些可以访问扩展用例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我该如何表示一个图表,其中几个参与者可以访问相同的功能或用例,但是如果我只是在其中扩展,则其中的一些参与者可以在其中使用其他功能或扩展(如果正确的话)。主要的用例意味着每个人都可以访问它?

解决方案

当用例扩展主要用例时,扩展指向主要用例,可以有条件。作为条件,您可以指定特定的参与者。





如果可以概括参与者,我也已经看到了这种解决方案。但是我更喜欢第一个,因为我不确定它在技术上是否正确(正如您所指出的,扩展用例默认情况下每个人都可以访问)。





希望这会有所帮助。


How can I represent a diagram in which several actors have access to the same function, or "use case" but some of them have additional functions or "extends" (if im right) inside it, if i just extend on the main "use case" that would mean its accessible by everyone right?

解决方案

When a use case extends the main use case, extension points at the main use case, can have conditions. As a condition you could specify a specific actor.

If the actors can be generalized, I have seen this solution too. But I prefer the first one because I am not sure if it is technically correct (As you noted, extend use case is by default accessible by everyone).

Hope this helps.

这篇关于用例图:用例的几个参与者,只有一些可以访问扩展用例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆