3 types of Use Case Relationship

Category: How Business Analysts work Add comments

1. Include

a.k.a Uses

When to use

When several Use Cases need to complete the same sequence of actions.

Example: To be able to Manage Contents, or Manage Photos, actor must Login to the system. The Login should be a separate Use Case; other Use Cases includes Use Case Login.

Advantages

  • Re-usability: Document once and reuse
  • Consistent behaviors across the system

Notes

A Use Case that includes other Use Cases is not complete if the Use Cases that are included cannot be executed.

Notation

Dashed arrow from the including Use Cases to the included Use Case, with the label «include»

2. Extend

When to use

When an extending Use Case continues the behavior of a base Use Case. The extending Use Case adds more action sequences into the base Use Case’s sequence.

When the sequence of actions in one alternative flow of a Use Case is too complicated, it should be put in a separate Use Case extending the existing Use Case.

How it works

The flow executes the extending Use Case actions when 2 conditions are satisfied:

  1. Appropriate Extension Point in base Use Case is reached
  2. Extension condition is fulfilled

When the extending Use Case activity sequence is completed, the base Use Case continues.

Advantages

Cohesion: Avoid over-complexity of one Use Case

Notes

The base Use Case is complete without the extending Use Case.

The extending Use Case can only be executed from an Extension Point in base Use Case.

Notation

Dashed arrow from the extending Use Cases to the extended Use Case, with the label «extend»

3. Generalization

a.k.a Use Case Inheritance

When to use

The inheriting Use Case replaces a portion of actions, conditions and rules of the inherited Use Case. The actions to be replaced are rewritten; actions not rewritten are executed as in inherited Use Case.

Advantages

Re-usability of actions that do not require re-writing.

Notation

Solid line ending in a hollow triangle from the inheriting Use Cases to the inherited Use Case.

Illustration

Use Case diagram illustrating Use Case Relationship

Manage Websites and Manage Contents are abstract Use Cases

Relationship between Manage Websites and Manage Enterprise Websites is Generalization: Manage Enterprise Websites inherits Manage Websites

Relationship between Manage Blogs and Manage Blog Contents is Include: Manage Blogs includes Manage Blog Contents

Relationship between Login and Manage Forgotten Passwords is Extend: Manage Forgotten Passwords extends Login


Enjoyed this entry? Register to receive FREE updates via email

Enter your email address:

Delivered by FeedBurner





Tags of this article: ,,,,,.


Last update August 16, 2007

Digg this post | Post this post to del.icio.us | Favorite this post on Technorati | Stumble Upon this post | Bookmark on Yahoo! | Share on Facebook | Bookmark on Google |
Post to Reddit | Post to Slashdot Submit to Netscape | Post to Furl | Post to Spurl | Post to Rawsugar | Submit to Newsvine |
Post to Simpy Post to Tailrank | Smark this post | Fark this post | Blogmark this post | Post to Scuttle | Feed this link |
Post to Blinklist | Post to Wists Post to Blinkbits | Post to Connotea | Post to Netvouz | Post to Shadows | Post to linkagogo | Track co.mments of this post | Track comments of this page on ma.gnolia

Related Posts


  • 10 major types of blog

  • Use Case is micro element of Best Practice

  • How to use Facebook as a Social Customer Relationship Management tool for FREE

  • MBTI Archetypes

  • Microsoft Word 2007 provides Blog Publishing functionality


  • Email To Friend

    Print This Post



    Leave a Reply

    WP Theme & Icons by N.Design Studio