An Introduction to Object-Oriented Systems Analysis and Design with UML and the Unified Process McGraw-Hill, 2004 Stephen R. Schach [email protected] 7 — Unit ESlide 3Produce a Report Use Case (contd)Slide 5Incrementing the Class DiagramFourth Iteration of the Class DiagramMore on ActorsMore on Actors (contd)Slide 10Slide 11Slide 12Slide 13Slide 14Slide 15Slide 16More on Use CasesRiskSlide 19Rapid PrototypingSlide 21Rapid Prototyping (contd)Slide 23Slide 24Slide 25Slide 26Slide 27Slide 28Scenarios and the Client’s NeedsScenarios and the Client’s Needs (contd)Slide 31Slide 7E.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] 7E.2Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. CHAPTER 7 — Unit ETHE ANALYSIS WORKFLOW IISlide 7E.3Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Continued from Unit 7DSlide 7E.4Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Produce a Report Use Case (contd)Collaboration diagram for second scenario–This time, investments (not mortgages) are involvedSlide 7E.5Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Produce a Report Use Case (contd)Sequence diagram for second scenarioSlide 7E.6Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Incrementing the Class DiagramCombined realization class diagramSlide 7E.7Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Fourth Iteration of the Class DiagramSlide 7E.8Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. More on ActorsTo find the actors, consider every role in which an individual can interact with the information system–Example: Applicants, BorrowersActors are not individuals –They are roles played by those individualsFind all the different roles played by each user–From the list of roles, extract the actorsSlide 7E.9Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. More on Actors (contd)In the Unified Process–The term worker is used to denote a role played by an individual–In the Unified Process, Applicants and Borrowers are two different workersIn general use–The word worker usually refers to an employeeIn this book, the word role is used in place of workerSlide 7E.10Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. More on Actors (contd)Within a business context, finding the roles is easy–They are displayed within the use-case business model To find the actors–Find the subset of the use-case business model that corresponds to the use-case model of the requirementsSlide 7E.11Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. More on Actors (contd)To find the actors (in more detail):–Construct the use-case business model–Consider only those parts of the business model that correspond to the target information system–The actors in this subset are the actors of the target information systemSlide 7E.12Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. More on Actors (contd)Example: The use-case diagram of the MSG business modelSlide 7E.13Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. More on Actors (contd)There are three actors: –MSG Staff Member–Applicants–BorrowersSlide 7E.14Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. More on Actors (contd)Now consider the use-case diagram of the requirementsSlide 7E.15Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. More on Actors (contd)The use-case diagram of the requirements is a subset of the use-case diagram of the business model–The business model incorporates all the activities of the MSG Foundation–The information system to be developed is just a pilot projectSlide 7E.16Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. More on Actors (contd)There are only two actors in the use-case diagram of the requirements–MSG Staff Member–BorrowersThese two actors are then the actors of the use-case models of the Unified Process for building the MSG information systemSlide 7E.17Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. More on Use CasesWithin a business context, finding use cases is easyFor each role, there will be one or more use cases–Find the actors (see previous slides)–The use cases then followSlide 7E.18Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. RiskMajor risk–The delivered information system may not meet the client’s needsIn the traditional paradigm–Construct a rapid prototype»A hurriedly thrown together working program that displays the key functionality of the target information systemSlide 7E.19Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. RiskIn the Unified Process–The use cases and their scenarios take the place of the rapid prototypeTo appreciate the new way, we now examine rapid prototyping in detailSlide 7E.20Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Rapid PrototypingHow to ensure that the client’s needs are truly met–Going through the specification document line by line with the client is inadequateTwo fanciful situations–Joe and Jane Johnson have a house built on the basis of a written document–Mark Marberry orders a suit on the basis of a written description of its cut and its clothSlide 7E.21Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Rapid PrototypingThese situations typify the problem with documents –“I know that this is the information system I asked for, but it’s not what I wanted”What has gone wrong?Slide 7E.22Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Rapid Prototyping (contd)It is hard to imagine how –A house will look from a written document–A suit will look from a written description of its cut and cloth–An information system will behave from a written documentIt is easy to imagine how –A house will look from a model of that house–A suit will look from a photograph of another suit with that cut and a piece of
View Full Document