Object-Oriented Design and Modeling Using The Uml: C H A P T E R
Object-Oriented Design and Modeling Using The Uml: C H A P T E R
C H A P T E R
18
Irwin/McGraw-Hill
OBJECTORIENTED DESIGN
AND MODELING
USING THE UML
Chapter 18
Irwin/McGraw-Hill
Chapter Map
Irwin/McGraw-Hill
Object-Oriented Design
Irwin/McGraw-Hill
ENTITY
OBJECT
Irwin/McGraw-Hill
INTERFACE
OBJECT
Irwin/McGraw-Hill
CONTROL
OBJECT
Irwin/McGraw-Hill
Object Responsibilities
Irwin/McGraw-Hill
Object Responsibility
1: Message to
request to display a
customers order
information
2: Message to
request customer
information
Customer
Order
submits
1
Customer Order
8: Display customer
order
0..*
1
3: Return customer
information
4: Message to
request all products
that an order
contains
1..*
6: Return detailed
product information
Product
is for
0..*
5: Message to
request detailed
product information
Irwin/McGraw-Hill
Object Reusability
Project Duration
(calendar months)
Level of Effort
(person months)
Software Size
(lines of code)
PL/1
19
152
265,000
Smalltalk
3.5
10.4
22,000
Irwin/McGraw-Hill
Irwin/McGraw-Hill
Design Patterns
Irwin/McGraw-Hill
Object Reusability
Irwin/McGraw-Hill
Irwin/McGraw-Hill
Irwin/McGraw-Hill
Irwin/McGraw-Hill
Irwin/McGraw-Hill
Irwin/McGraw-Hill
Irwin/McGraw-Hill
Irwin/McGraw-Hill
Irwin/McGraw-Hill
Control object
coordinates
messages sent to
the entity objects
Copyright 2004 The McGraw-Hill Companies. All Rights reserved
Irwin/McGraw-Hill
Irwin/McGraw-Hill
Irwin/McGraw-Hill
Irwin/McGraw-Hill
Irwin/McGraw-Hill
Irwin/McGraw-Hill
Irwin/McGraw-Hill
Statechart diagram
Irwin/McGraw-Hill
Irwin/McGraw-Hill
Irwin/McGraw-Hill
Irwin/McGraw-Hill
Irwin/McGraw-Hill
Irwin/McGraw-Hill
Irwin/McGraw-Hill
Component Diagram
Irwin/McGraw-Hill
Deployment Diagram
Irwin/McGraw-Hill