Professional Documents
Culture Documents
1
Init. Business Model: Osbert Oglesby Case Study
2
Init. Business Model: Osbert Oglesby Case Study
3
Init. Business Model: Osbert Oglesby Case Study
4
Init. Business Model: Osbert Oglesby Case Study
5
Init. Business Model: Osbert Oglesby Case Study
6
Init. Business Model: Osbert Oglesby Case Study
7
Initial Requirements: Osbert Oglesby Case Study
8
Initial Requirements: Osbert Oglesby (contd)
9
Initial Requirements: Osbert Oglesby (contd)
10
Attributes: Osbert Oglesby Case Study
11
Maximum Price for an Other Painting
12
Coefficient of Similarity: Osbert Oglesby (contd)
13
Auction Data: Osbert Oglesby Case Study
14
Updated Use Cases : Osbert Oglesby Case Study
15
Report of Purchases during the Past Year
16
Report of Trends during the Past Year
17
It Ain’t Over Till it’s Over
l Use-case description
18
Second Iteration of Use-Case Diagram
19
Scenario of Use Case Buy a Painting
20
Second Scenario of Use Case Buy a Painting
21
Normal and Exception Scenarios
22
Fifth Iteration of the Initial Class Diagram (contd)
l Initial statechart
23
Initial Dynamic Model: Osbert Oglesby (contd)
24
Initial Dynamic Model: Osbert Oglesby
25
Initial Dynamic Model: Osbert Oglesby (contd)
26
Initial Boundary Classes: Osbert Oglesby
27
Initial Boundary Classes: Osbert Oglesby (contd)
28
Initial Boundary Classes: Osbert Oglesby (contd)
29
Initial Boundary Classes: Osbert Oglesby (contd)
30
Initial Control Classes: Osbert Oglesby
31
Initial Control Classes: Osbert Oglesby (contd)
32
Refining the Use Cases: Osbert Oglesby (contd)
33
Third Iteration of the Use-Case Diagram
34
Use-Case Realization
35
Buy a Masterpiece Use Case
l Description
of the use
case
36
Buy a Masterpiece Use Case (contd)
l The four classes that enter into this use case are:
– User Interface Class
» This class models the user interface
– Compute Masterpiece Price Class
» This class models the computation of the price Osbert should offer
– Masterpiece Class
» The computation involves comparing the masterpiece being
considered with the masterpieces that have been previously
auctioned
– Auctioned Painting Class
» These masterpieces are all instances of Auctioned Painting
Class
37
Buy a Masterpiece Use Case (contd)
38
Buy a Masterpiece Use Case (contd)
39
Produce a Purchases Report Use Case
l Class diagram
– The realization is straightforward
l Class diagram
– The realization is equally straightforward
40
Produce a Future Trends Report Use Case
l Class diagram
– The realization is also straightforward
l Class diagram
– The realization is just as straightforward
41
Combining the Realization Class Diagrams
l Class
diagram
42
Where’s the Specification Document?
43
Formats of Attributes of Osbert Oglesby
44
Responsibility-Driven Design: Osbert Oglesby
l Allocation of getAuctionPrice
45
Inheritance: Osbert Oglesby Case Study
l Consider operations
– setTitle and
– getTitle
46
Inheritance: Osbert Oglesby Case Study (contd)
47
Inheritance: Osbert Oglesby Case Study (contd)
48