three use cases into one use case

后端 未结 3 1973
生来不讨喜
生来不讨喜 2021-01-24 12:12

I have one actor (admin), he can perform some actions over other user accounts such as creating the account, editing the account and deleting the account account. Should I do so

相关标签:
3条回答
  • 2021-01-24 12:45

    I think that in the diagram, the Admin actor should interact with the specialized (child) use cases rather than the more abstract (parent) use case.

    Furthermore, it is a good practice to show the system boundary using a frame around all the use cases implemented by your system. This is especially helpful when you have more than one external actor.

    This page is also helpful for understanding the concept of generalization.

    0 讨论(0)
  • 2021-01-24 12:50

    Second one is a better option to adopt as far as clean code and modularity is concerned.

    0 讨论(0)
  • 2021-01-24 13:03

    You can have the abstraction to Manage Accounts by having it generalize the three use cases.

    Like so:

    diagram with generalization

    You can refer to the abstract use case where you need things to be in compact form, and refer to the much more precise "sub" use cases where you want to show details.

    0 讨论(0)
提交回复
热议问题