Professional Documents
Culture Documents
Object Oriented Software Analysis and Design
Object Oriented Software Analysis and Design
0..1 *
employer employee
Role name (employed)
Compiled By: Aliazar D.
Cont..
C. Generalization(is-a) – a
specialization/generalization relationship in which
objects of the specialized element (the child) are
substitutable for objects of the generalized element
(the parent)
Register
Order books
Customer
Sell used
books
Review books
Reorder
<<Includes>>
Sales Clerk
Login
Add to Stock
<<Includes>>
<<Includes>>
Generate
Report
Manager
The first is Essential usecase diagram and the latter is System usecase
diagram!
Extends none
Includes UC-001
Basic Course of Action
1.The Sales Clerk want to sell an item
2.The Sales Clerk logs into the system using “UC-001: Login”
3.The system displays the main Window “UI-002: Main Menu”
4.The Sales Clerk selects “Sell” from the Main Menu
5.The system displays the Sell interface “UI-006: Sell Item”
6.The Sales Clerk selects the items and quantity he want to sell
7.The system check the availability of the items according to the business rule “BR-012: check availability of item”
8.The system displays the total amount of money to be paid with the item list via “UI-013: Payment Voucher”
9.The Sales Clerk indicates he want to print the payment voucher.
10.The system prints the payment voucher
11.The use case ends when the Sales clerk receive the money and give the payment voucher to customer.
Perform Medical
Make Appointment
Tests
<<includes>>
Check password
<<includes>>
Track Order
Validate User
Retinal Scan
Clinic
* Make Appointment
*
Patient
Perform Medical
Tests
* *
Doctor
Compiled By: Aliazar D.
The benefits of basing software
development on use cases
• They can
– Help to define the scope of the system
– Be used to plan the development process
– Be used to both develop and validate the
requirements
– Form the basis for the definition of test cases
– Be used to structure user manuals
Question ?
? Compiled By: Aliazar D.
FLOW OF EVENTS
• Specify the behavior of a use case by describing the flow of
events in text clearly enough for an outsider to understand
it easily.
• Include
– How and when the use case starts and ends
– When the use case interacts with the actors
– What objects are exchanged
– The basic flow and alternative flows of the
behavior
Register
<<extend>>
(CustID) Check out
Customer Order books
<<include>>
<<include>>
Sell used Log-in
books
<<include>>
Review books