Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Include or Extend Use Case Relationship?

Tags:

use-case

uml

I can't figure out which relationship I should use in my use case. Let's say the actor is User who can Manage account:-Create; -Delete; -Update;

Any ideas whether I should make Manage Account as a use case and then link Create, delete, update to it - if yes - extend or include relationship? Or it would be better if I leave as separate use cases Create, Delete, Update?

like image 797
Izumi Avatar asked May 20 '26 12:05

Izumi


1 Answers

I'm not a fan of "Manage-X" Use Cases. As your post suggests, 'Manage' is really a collective term for a number of alternate, independent tasks. The result is a Use Case body that doesn't look right:

If the User selects 'Create' then {...}
else if the User selects 'Update' then {...}

...etc.

Better show them individually. If your model gets big - and you need a way to organise - then create a package for related UCs, not a 'super UC'. So in your case, a package named Manage Account containing UCs Open Account, Update Account, etc.

hth.

like image 175
sfinnie Avatar answered May 28 '26 02:05

sfinnie



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!