Professional Documents
Culture Documents
An Introduction to
Object-Oriented
Systems Analysis and Design
with UML and
the Unified Process
McGraw-Hill, 2004
Stephen R. Schach
srs@vuse.vanderbilt.edu
Copyright 2004 by The McGraw-Hill Companies, Inc. All rights reserved.
CHAPTER 8 Unit A
Slide 8A.2
Chapter Overview
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
Slide 8A.13
Slide 8A.14
followed by
Detailed design
Algorithms and data structures are designed for each module
Slide 8A.16
Slide 8A.17
Slide 8A.18
Slide 8A.19
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.23
Example:
An asset number consists of 12 characters
assetNumber : 12 digits
Slide 8A.25
Slide 8A.26
Slide 8A.27
Slide 8A.28
Responsibility-Driven Design
Slide 8A.29
Responsibility-Driven Design
Example:
MSG Foundation
case study
Slide 8A.30
Slide 8A.31
Slide 8A.32
Allocation of getAnnualReturnOnInvestment
Slide 8A.33
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.34
Inheritance (contd)
Slide 8A.35
Inheritance (contd)
Slide 8A.36
setAssetNumber
be
Inheritance (contd)
Slide 8A.37
Inheritance (contd)
Slide 8A.38
Inheritance (contd)
Slide 8A.39
Inheritance (contd)
Slide 8A.40
Slide 8A.41
Slide 8A.42
Continued in Unit 8B