An Introduction to Object-Oriented Systems Analysis and Design with UML and the Unified Process McGraw-Hill, 2004 Stephen R. Schach [email protected] 5 — Unit BSlide 3Revising the Requirements: MSG (contd)Slide 5Estimate Payments and Grants for WeekEstimate Payments and Grants for Week (contd)Update Borrowers’ Weekly IncomeThird Iteration of the Revised Use-Case DiagramEstimate Funds Available for WeekEstimate Funds Available for Week (contd)Slide 12«include» Relationship«include» Relationship (contd)Slide 15Slide 5B.1Copyright © 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, 2004Stephen R. [email protected] 5B.2Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. CHAPTER 5 — Unit BTHE REQUIREMENTS WORKFLOW IISlide 5B.3Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Continued from Unit 5ASlide 5B.4Copyright © 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 weekSlide 5B.5Copyright © 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 incomeSplit Compute Weekly Repayment Amount into two separate use cases–Use case Estimate Payments and Grants for Week, and –Use case Update Borrowers’ Weekly IncomeSlide 5B.6Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Estimate Payments and Grants for WeekSlide 5B.7Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Estimate Payments and Grants for Week (contd)Slide 5B.8Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Update Borrowers’ Weekly IncomeSlide 5B.9Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Third Iteration of the Revised Use-Case DiagramThe two new use cases are shadedSlide 5B.10Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Estimate Funds Available for WeekUse 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 WeekSlide 5B.11Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Estimate Funds Available for Week (contd)Second iteration of use caseSlide 5B.12Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Estimate Funds Available for Week (contd)Second iteration of description of use caseSlide 5B.13Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. «include» RelationshipCorrect use case (top); incorrect use case (bottom)Slide 5B.14Copyright © 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)Slide 5B.15Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Continued in Unit
View Full Document