COMP 380/L Lesson 2: George Wang, PH.D
COMP 380/L Lesson 2: George Wang, PH.D
Lesson 2
2
Use Case Diagrams /
Descriptions
• Use case diagrams show use cases, actors and
relations among them.
• Use case descriptions address in details what
the system (software product) shall do for the
actor to achieve a particular goal
(functionality).
3
Use Case Development Process
5
Use Case Tutorial - Actors
6
Use Case Tutorial -
Relationships
• An actor is associated with one or more use cases
• A relationship between an actor and a use case indicates the
actor initiates the use case, the use case provides the actor
with results
• An association is shown as a solid line between an actor and a
use case
• Other types of relationships
– Actor and use case generalization
– Use case include
– Use case extend
– http://publib.boulder.ibm.com/infocenter/rsmhelp/v7r0m0/index.jsp?
topic=/com.ibm.xtools.modeler.doc/topics/crelsme_ucd.html
7
ATM System
Startup
Operator Shutdown
Session
Customer
Withdrawal
Invalid PIN
Deposit
Bank
Login
Transfer
Inquiry
ATM System
Startup
Operator Shutdown
Session
Customer
Invalid PIN
«include»
«extend»
Login Transaction
«include»
Bank
9
Use Case Descriptions
10
Use Case Description - Template
Use Case Description - Example