Use Cases Introduction to Software Engineering Introduction


Relationships Between Actors


Download 492.5 Kb.
bet2/5
Sana09.05.2023
Hajmi492.5 Kb.
#1447414
1   2   3   4   5

Relationships Between Actors

  • Actors can be related by generalization/specialization
  • Actors are classifiers (not individual users)
  • Student
  • Graduate Student
  • Do this when very obvious.. otherwise skip it

Use Case Relationships

  • Includes
  • Extends
  • Generalization
  • Coming up: Use-Case Relationships
  • After a while you realize extends and generalization are not too different. Just know generalization and includes… forget about extends (the difference is only in intent)

Use-Case Relationships

  • Includes Dependency: Defines how one use case can invoke behavior defined by another use case
  • Teacher
  • <>
  • Coming up: Use-Case Relationships

Use-Case Relationships

  • Extends dependency: defines a use-case that is a variation of another, usually for handling an abnormal situation
  • Authorized
  • Staff Worker
  • Alter Student Grade
  • Alter student grade for a class taken more than a year ago
  • <>
  • Coming up: Use-Case Relations

Use-Case Relations

  • Generalization: Defines one use case as a generalization of another. Replaces generic functionality with alternate implementation
  • Teacher
  • Alter Student Grade
  • Coming up: Documenting Use Cases

Documenting Use Cases

  • List Actors
  • List External Events
  • Determine expected behavior
  • Add relations (includes, extends, generalization)
  • Document use case (basic flow, alternate, exception)
  • What is system response to external event? What is the user’s goal?
  • Be Patient… let them unfold

Download 492.5 Kb.

Do'stlaringiz bilan baham:
1   2   3   4   5




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling