• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

A question about uml use cases , should i use include or extends ?

 
Ranch Hand
Posts: 551
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
Thank you for reading my post.
here is scenario :
I have a system administrator Actor . one of its job is to configure system.
configuring system contains several configuration jobs like
configuring start-up parameter , schedularing tasks , defining system runtime parameter ..

now the question is : which of following is correct :
should i get a usecase named configuration for all of them ?
should i get a usecase named configuration and then let this configuration include other items like start-up configuration usecase ,... ?
should i make a use case for each of start-up parameter , schedularing tasks , defining system runtime parameter ..
and then make another usecase which extends them all ?

if none of the above is correct can you please tell me the correct way ?
A general question about use cases : if i include some usecase into another usecase , does it means that when parrent usecase happens all childs should happen ?

Thank you.
 
author
Posts: 608
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


should i get a usecase named configuration for all of them ?


It depends on the complexity of the use cases and your personal style, but this is the approach I would take to keep it simple.


A general question about use cases : if i include some usecase into another usecase , does it means that when parrent usecase happens all childs should happen ?



Yes. If Parent ---include---> Child then the Child use case will run if the path through the use case where the Child use case is invoked is run. Think of include like a procedure call. At use case example on line 11 you see how the included use case is referenced. When you process that line, the use case gets called.

- Scott
 
Think of how stupid the average person is. And how half of them are stupider than that. But who reads this tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic