UML diagram use case condition

别说谁变了你拦得住时间么 提交于 2019-11-29 16:12:06

You need to attach a constraint to either the connector, the use case or the actor (where it's most appropriate). It could look like this:

Note that this is an example and contains redundant constraints which should not be done for a real UC.

I believe you are doing too much as part of your use case analysis. Use cases are listing what your users (actors) can do and what benefit they get from doing those actions. Thinking that way, each user/actor will have a set of actions (use cases) that will provide them with a benefit. In your example, you should have many use cases for each actor, e.g., Admin would be able to create/delete users and provileges (UC1), list all actions from one or many users (UC2) and both would yeild different results.

When you start building your domain and behaviour models, then you will start adding the details of the behaviour.

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