Top Banner
Slide 5B.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with UML and the Unified Process McGraw-Hill, 2004 Stephen R. Schach [email protected]
15

Slide 5B.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.

Dec 22, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Slide 5B.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.

Slide 5B.1

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.

An Introduction toObject-Oriented

Systems Analysis and Design with UML and

the Unified Process

McGraw-Hill, 2004

Stephen R. Schach

[email protected]

Page 2: Slide 5B.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.

Slide 5B.2

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.

CHAPTER 5 — Unit B

THE REQUIREMENTS WORKFLOW II

Page 3: Slide 5B.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.

Slide 5B.3

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.

Continued from Unit 5A

Page 4: Slide 5B.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.

Slide 5B.4

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.

Revising the Requirements: MSG (contd)

(3) Total estimated mortgage payments for the week and

(4) Total estimated grant payments for the week: – Use case Compute Weekly Repayment Amount models

the computation of both the estimated mortgage payment and the estimated grant payment for each mortgage separately

– Summing these separate quantities gives » The total estimated mortgage payments for the week, and» The total estimated grant payments for the week

Page 5: Slide 5B.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.

Slide 5B.5

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.

Revising the Requirements: MSG (contd)

Now the use cases need to be reorganized– Use case Compute Weekly Repayment Amount also

models borrowers updating their weekly income

Split Compute Weekly Repayment Amount into two separate use cases– Use case Estimate Payments and Grants for Week, and – Use case Update Borrowers’ Weekly Income

Page 6: Slide 5B.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.

Slide 5B.6

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.

Estimate Payments and Grants for Week

Page 7: Slide 5B.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.

Slide 5B.7

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.

Estimate Payments and Grants for Week (contd)

Page 8: Slide 5B.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.

Slide 5B.8

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.

Update Borrowers’ Weekly Income

Page 9: Slide 5B.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.

Slide 5B.9

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.

Third Iteration of the Revised Use-Case Diagram

The two new use cases are shaded

Page 10: Slide 5B.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.

Slide 5B.10

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.

Estimate Funds Available for Week

Use case Estimate Funds Available for Week models the computation that uses the data obtained from three other use cases– Estimate Investment Income for Week– Estimate Operating Expenses for Week– Estimate Payments and Grants for Week

Page 11: Slide 5B.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.

Slide 5B.11

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.

Estimate Funds Available for Week (contd)

Second iteration of use case

Page 12: Slide 5B.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.

Slide 5B.12

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.

Estimate Funds Available for Week (contd)

Second iteration of description of use case

Page 13: Slide 5B.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.

Slide 5B.13

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.

«include» Relationship

Correct use case (top); incorrect use case (bottom)

Page 14: Slide 5B.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.

Slide 5B.14

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.

«include» Relationship (contd)

The bottom diagram models use cases – Estimate Funds Available for Week, and – Estimate Payments and Grants for Week

as two independent use cases– However, a use case models an interaction between the

information system itself and users of the information system (actors)

Page 15: Slide 5B.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.

Slide 5B.15

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.

Continued in Unit 5C