Documente Academic
Documente Profesional
Documente Cultură
Object Oriented
Design Workflow
Osbert Oglesby &
MSG
Foundatio
n
Copyright 2004 by The McGraw-Hill Companies, Inc. All rights reserved.
Slide 8A.2
Slide 8A.3
Slide 8A.4
Slide 8A.5
Slide 8A.6
Slide 8A.7
Slide 8A.8
Slide 8A.9
Slide 8A.10
Slide 8A.11
Slide 8A.12
followed by
Detailed design
Algorithms and data structures are designed for each module
Slide 8A.14
Slide 8A.15
Slide 8A.16
Slide 8A.17
Examples:
First name of an artist is up to 20 characters in length,
optionally followed by ? if there is uncertainty
firstNameOfArtist : 21 chars
Prices
targetSellingPrice, actualSellingPrice, maxPurchasePrice : 8 digits
(up to $99,999,999)
Dates
dateOfPurchase, dateOfSale, auctionDate : 10 chars
Copyright 2004 by The McGraw-Hill Companies, Inc. All rights reserved.
Fashionability coefficient
This could be a large number or a small number
Range is
High: 9999.9999
Low: 0.0001
Slide 8A.21
Example:
An asset number consists of 12 characters
assetNumber : 12 digits
Slide 8A.23
Slide 8A.24
Slide 8A.25
Slide 8A.26
Responsibility-Driven Design
Slide 8A.27
Slide 8A.29
Slide 8A.30
Allocation of getAnnualReturnOnInvestment
Slide 8A.31
Inheritance
It can be used by
Instances of the superclass and by
Instances of all its subclasses
Copyright 2004 by The McGraw-Hill Companies, Inc. All rights reserved.
Slide 8A.32
Inheritance (contd)
Slide 8A.33
Inheritance (contd)
Slide 8A.34
setAssetNumber
be
Inheritance (contd)
Slide 8A.35
Inheritance (contd)
Slide 8A.36
Inheritance (contd)
Slide 8A.37
Inheritance (contd)
Slide 8A.38
Slide 8A.39
Slide 8A.40
Slide 8A.41
Allocation of getAuctionPrice
Slide 8A.42
Consider operations
setTitle and
getTitle
and
getTitle
be allocated?
getTitle
Requirements workflow
Analysis workflow
Design workflow
Implementation workflow
Test workflow
Slide 8A.48
Slide 8A.49
Slide 8A.50
Slide 8A.51
Slide 8A.52
Slide 8A.53
Slide 8A.54
Slide 8A.55
Slide 8A.56
Slide 8A.57