extends vs include in usecase [duplicate]

女生的网名这么多〃 提交于 2020-01-06 07:14:16

问题


what is the difference between extends and includes in usecase UML?

if I hava login usecase and and addGroup usecase, the admin should login to be able to add group , what is the relation here??


回答1:


One means it is done in the context of of another (almost like a function call) and the other means it is done as an alternative as another. Be careful, they are not using 'extends' and 'includes' in the same manner as OO programming languages. There are subtle differences. I don't remember which is which and would rather not guess.

In all my years of using UML, I still have not come across a situation where either term provided any benefit to a Usecase Diagram.

Here is a page that discusses Extends and Includes in a Usecase Diagram.



来源:https://stackoverflow.com/questions/5313623/extends-vs-include-in-usecase

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!