Beruflich Dokumente
Kultur Dokumente
Chapter 3
1
Outline
Use Case – defined
2
Use Case - Defined
Use case - an activity that the system performs
usually in response to a request by a user
Functional Requirements
Verb + Noun
– Place order
– Issue complaint
3
Identifying Use Cases- User Goal Technique
Ask the users what they need the system to do
Prior Conditions
& Events
5
Identifying Use Cases- Event Decomposition
Types of Events
External
Temporal
State
6
UML's
Use Case Diagram
7
UML - The Unified Modeling Language
An Object-Oriented modeling language
"3 Amigos" - Booch, Rumbaugh, and Jacobson
Adopted & now managed by OMG (Object Management Group)
Structure diagrams
• Class diagram, Component diagram, Deployment diagram,
Object diagram, Package diagram, etc.
Behavior diagrams
• Activity diagram , Use Case diagram , Sequence diagram,
State machine, Communication diagram, etc.
8
Use Case Diagram
A UML diagram depicting the Use Case - an activity that the system
relationship between actors & use cases performs
<<uses>>
ATM System
Withdraw
cash
Customer
11
Use Case Diagram - Example
Create
new order
<<includes>>
<<includes>>
Lookup
item
availability
Customer Validate
customer Sales
<<includes>> account clerk
<<includes>>
Update
order
Reuse!
12
"Withdraw Cash” Use Case – i.e. scenario
Withdraw
cash
Customer
13
Special Use Cases
State-driven use cases
• e.g. Polling, Monitoring, Notifications
Reorder
Employee Stock
Generate
<<Time>> Payroll
14