• 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

Use case diagram

 
Ranch Hand
Posts: 176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
can someone explain the difference between include, uses, extends that are used in the use case diagrams ?
 
Ranch Hand
Posts: 191
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The include relationship is used when a number of steps are similar across more than one use case and you don't want to repeat these steps.
The extends is used when you are describing a variation in a use case.
 
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is clearly explained in the Fowler book
Include --- is when two are more of ur Use-Cases are using same chunk of behavior , say, some validations are calculations of validity used by different scenarios
Extends --- is adding behavior to a Use-Case at the points it declares as "extention points" . This can be used to handle the alternative scenarios, say , in a shopping cart example handling the Credit Card failure situation
I am not sure of what u r referring to when u said uses.
 
Ranch Hand
Posts: 223
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
uses is similar to the concept of a service. An independent piece which may be accessed by ( and for) multiple use cases. Ex: email, credit card service etc.
HTH
 
Giri Prasad
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
http://www.fbk.eur.nl/FBK/VG1/JVH/BIM02/SHEETS/c5/tsld021.htm
From what this link says to me uses is sounding same as include. Madhu did u came across any documents that mentions both uses and include??
 
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
http://www.fbk.eur.nl/FBK/VG1/JVH/BIM02/SHEETS/c5/sld021.htm
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic