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
Slide 5B.2 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. CHAPTER 5 — Unit B THE REQUIREMENTS WORKFLOW II
Slide 5B.3 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Continued from Unit 5A
Slide 5B.4 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Revising the Requirements: MSG (contd) l (3) Total estimated mortgage payments for the week and l (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
Slide 5B.5 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Revising the Requirements: MSG (contd) l Now the use cases need to be reorganized –Use case Compute Weekly Repayment Amount also models borrowers updating their weekly income l 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
Slide 5B.6 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Estimate Payments and Grants for Week
Slide 5B.7 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Estimate Payments and Grants for Week (contd)
Slide 5B.8 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Update Borrowers’ Weekly Income
Slide 5B.9 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Third Iteration of the Revised Use-Case Diagram l The two new use cases are shaded
Slide 5B.10 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Estimate Funds Available for Week l 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
Slide 5B.11 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Estimate Funds Available for Week (contd) l Second iteration of use case
Slide 5B.12 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Estimate Funds Available for Week (contd) l Second iteration of description of use case
Slide 5B.13 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. «include» Relationship l Correct use case (top); incorrect use case (bottom)
Slide 5B.14 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. «include» Relationship (contd) l 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)
Slide 5B.15 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Continued in Unit 5C