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

Slides:



Advertisements
Similar presentations
CITIZENSHIP, MATHS AND ICT Unit Overview Financial Literacy.
Advertisements

PowerPoint Presentation for Dennis, Wixom & Tegardem Systems Analysis and Design Copyright 2001 © John Wiley & Sons, Inc. All rights reserved. Slide 1.
Use Cases  A use case depicts an interaction between the software program and the user (actors)  Example: Withdraw Money Customer Teller.
Slide 11.1 Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. Object-Oriented and Classical Software Engineering Eighth Edition,
Practical Object-Oriented Design with UML 2e Slide 1/1 ©The McGraw-Hill Companies, 2004 PRACTICAL OBJECT-ORIENTED DESIGN WITH UML 2e Chapter 5: Restaurant.
Slide 6C.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
Slide 6B.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
Slide 11C.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
Slide 11D.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
Slide 10A.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. slide 1 CS 125 Introduction to Computers and Object- Oriented Programming.
Slide 7D.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter Chapter 1 Introduction to Object-Oriented Programming and.
Slide 10B.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
Slide 8B.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
Object Oriented Analysis Process
Slide 9.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
COMPSCI 125 Spring 2005 ©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 3: *Sample Development Loan Calculator.
Slide 18.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
Slide 5A.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
Slide 8A.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
Slide 7C.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
Slide 5D.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 4 th Ed Chapter Lecture 1 Introduction to Computers and Object-
Slide 7A.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
Slide 5C.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
Slide 6A.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
Slide 19.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
Slide 11B.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 to Object-Oriented Systems Analysis and Design with.
©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 4 th Ed Chapter Chapter 1 Introduction to Object-Oriented Programming.
Slide 7E.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
Slide 12C.50 © The McGraw-Hill Companies, 2005 Object-Oriented and Classical Software Engineering Sixth Edition, WCB/McGraw-Hill, 2005.
Case Study: Class Extraction.
Slide 12E.121 © The McGraw-Hill Companies, 2005 Object-Oriented and Classical Software Engineering Sixth Edition, WCB/McGraw-Hill, 2005 Stephen R. Schach.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 2 Image Slides.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Slide 1 Extended Class Diagram.
Slide 11.1 Copyright © 2008 by The McGraw-Hill Companies, Inc. All rights reserved. Object-Oriented Software Engineering WCB/McGraw-Hill, 2008 Stephen.
Classification of UML Diagrams
Key Takeaway Points A use case is a business process; it begins with an actor, ends with the actor, and accomplishes a business task for the actor. Use.
Practical Object-Oriented Design with UML 2e Slide 1/1 ©The McGraw-Hill Companies, 2004 PRACTICAL OBJECT-ORIENTED DESIGN WITH UML 2e Chapter 9: Interaction.
1 Analysis Extracting from Use Cases to Create Diagrams.
Slide 0.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
Slide 20.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
Slide 12A.1 © The McGraw-Hill Companies, 2005 Object-Oriented and Classical Software Engineering Sixth Edition, WCB/McGraw-Hill, 2005 Stephen R. Schach.
Slide 12.1 Object-Oriented and Classical Software Engineering Chapter 12 Object Oriented Analysis.
Use Case Driven Analysis Requirements Use Case Use Case Description System Sequence Diagram Chapter 5.
Slide 11.1 Copyright © 2008 by The McGraw-Hill Companies, Inc. All rights reserved. CHAPTER 11 THE ANALYSIS WORKFLOW (Derived from Stephen R. Schach’s.
THE ANALYSIS WORKFLOW  The specification document  Informal specifications  The analysis workflow  Extracting the entity classes  Functional modeling:
Slide 12.1 © The McGraw-Hill Companies, 2007 Object-Oriented and Classical Software Engineering Seventh Edition, WCB/McGraw-Hill, 2007 Stephen R. Schach.
CHAPTER 13 OBJECT-ORIENTED ANALYSIS. Overview l The analysis workflow l Extracting the entity classes l The elevator problem case study l The test workflow:
Slide 6D.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
Slide 12D.88 © The McGraw-Hill Companies, 2005 Object-Oriented and Classical Software Engineering Sixth Edition, WCB/McGraw-Hill, 2005 Stephen R. Schach.
Slide © The McGraw-Hill Companies, 2007 Object-Oriented and Classical Software Engineering Seventh Edition, WCB/McGraw-Hill, 2007 Stephen R. Schach.
An Introduction to Programming with C++ Sixth Edition Chapter 10 Void Functions.
Slide 10.1 Copyright © 2008 by The McGraw-Hill Companies, Inc. All rights reserved. Object-Oriented Software Engineering WCB/McGraw-Hill, 2008 Stephen.
1 SEQUENCE DIAGRAM EXAMPLE The domain model, showing the navigability of the associations, and the Reserve video (staff scenario) use-case description.
USE CASE Pertemuan 7 Matakuliah: Konsep object-oriented Tahun: 2009.
Slide 12F.135 © The McGraw-Hill Companies, 2005 Object-Oriented and Classical Software Engineering Sixth Edition, WCB/McGraw-Hill, 2005 Stephen R. Schach.
CHAPTER 12 OBJECT-ORIENTED ANALYSIS. Overview Extracting the entity classes Object-oriented analysis: The elevator problem case study Functional modeling.
Engineering Quality Software Week02 J.N.Kotuba1 SYST Engineering Quality Software.
Slide 11.1 Copyright © 2008 by The McGraw-Hill Companies, Inc. All rights reserved. Object-Oriented Software Engineering WCB/McGraw-Hill, 2008 Stephen.
Object-Oriented Software Engineering WCB/McGraw-Hill, 2008 Stephen R
Figure 7.1 MSG Foundation Information System Estimate Funds
Implementation workflow Implementation workflow
Chapter 10: Void Functions
An Introduction to Object-Oriented Systems Analysis and Design with UML and the Unified Process McGraw-Hill, 2004 Stephen R. Schach
An Introduction to Object-Oriented Systems Analysis and Design with UML and the Unified Process McGraw-Hill, 2004 Stephen R. Schach
Engineering Quality Software
Presentation transcript:

Slide 7B.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 7B.2 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. CHAPTER 7 — Unit B THE ANALYSIS WORKFLOW II

Slide 7B.3 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Continued from Unit 7A

Slide 7B.4 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Third iteration of the initial class diagram: MSG l The class diagram redrawn to show the prototypes

Slide 7B.5 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Extracting Boundary Classes: MSG Foundation l Each input screen, output screen, and report is usually modeled by a boundary class l The target MSG Foundation information system appears to be relatively straightforward – Try to have just one screen for all four use cases: »Estimate Funds Available for Week »Manage an Asset »Update Estimated Annual Operating Expenses »Produce a Report

Slide 7B.6 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Extracting Boundary Classes: MSG Foundation l There is one initial screen class – User Interface Class

Slide 7B.7 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Extracting Boundary Classes: MSG (contd) l Three reports have to be printed – The estimated funds for the week report – The listing of all mortgages – The listing of all investments l Each of these has to be modeled by a separate boundary class – Estimated Funds Report Class – Mortgages Report Class – Investments Report Class

Slide 7B.8 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Extracting Boundary Classes: MSG (contd) l Here are the four initial boundary classes

Slide 7B.9 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Extracting Control Classes: MSG Case Study l Each computation is usually modeled by a control class l The MSG Foundation case study has just one – Estimate the funds available for the week l There is one initial control class

Slide 7B.10 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Use-Case Realization: MSG Case Study l Use-case realization – A description of how a use case is performed in terms of its classes l We determine what classes are needed to realize (achieve or accomplish) the use case

Slide 7B.11 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Estimate Funds Available for Week Use Case l Use-case diagram

Slide 7B.12 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Estimate Funds Available for Week Use Case l Description of use case

Slide 7B.13 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Estimate Funds Available for Week Use Case l Class diagram (classes that enter into the use case)

Slide 7B.14 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Estimate Funds Available for Week Use Case l The six classes that enter into this use case are: – User Interface Class »This class models the user interface – Estimate Funds for Week Class »This control class models the computation of the estimate of the funds that are available to fund mortgages during that week – Mortgage Class »This class models the estimated grants and payments for the week – Investment Class »This class models the estimated return on investments for the week – MSG Application Class »This class models the estimated return on investments for the week – Estimated Funds Report Class »This class models the printing of the report

Slide 7B.15 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Estimate Funds Available for Week Use Case l Scenario (one possible instance of the use case)

Slide 7B.16 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Estimate Funds Available for Week Use Case l A working information system uses objects, not classes – Example: A specific mortgage cannot be represented by Mortgage Class but rather by an object, a specific instance of Mortgage Class l Such an object is denoted by : Mortgage Class

Slide 7B.17 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Estimate Funds Available for Week Use Case l A class diagram shows the classes in the use case and their relationships – It does not show the objects nor the sequence of messages as they are sent from object to object l Something more is needed

Slide 7B.18 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Estimate Funds Available for Week Use Case l Collaboration diagram (of the realization of the scenario of the use case)

Slide 7B.19 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Estimate Funds Available for Week Use Case l The collaboration diagram shows the objects as well as the messages, numbered in the order in which they are sent in the specific scenario

Slide 7B.20 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Estimate Funds Available for Week Use Case l Item 1: – The staff member wants to compute the funds available for the week – In the collaboration diagram, this is modeled by message »1: Request estimate of funds available for week from MSG Staff Member to : User Interface Class, an instance of User Interface Class

Slide 7B.21 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Estimate Funds Available for Week Use Case l Item 2 – This request is passed on to : Estimate Funds for Week Class, an instance of the control class that actually performs the calculation – This is modeled by message »2: Transfer request l Four separate financial estimates are now determined by : Estimate Funds for Week Class

Slide 7B.22 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Estimate Funds Available for Week Use Case l Item 3 – In Step 1 of the scenario, the estimated annual return on investments is summed for each investment and the result divided by 52 – This extraction of the estimated weekly return is modeled by message » 3: Request estimated return on investments for week from : Estimate Funds for Week Class to : Investment Class followed by message »4: Return estimated weekly return on investments in the other direction

Slide 7B.23 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Estimate Funds Available for Week Use Case l Item 4 – In Step 2 of the scenario, the weekly operating expenses are estimated by taking the estimated annual operating expenses and dividing by 52 – This extraction of the weekly expenses is modeled by message »5: Request estimated operating expenses for week from : Estimate Funds for Week Class to : MSG Application Class followed by message »6: Return estimated operating expenses for week in the other direction

Slide 7B.24 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Estimate Funds Available for Week Use Case l Item 5 – In Steps 3, 4, and 5 of the scenario, two estimates are determined »the estimated grants for the week, and »the estimated payments for the week – This is modeled by message »7: Request estimated grants and payments for week from : Estimate Funds for Week Class to : Mortgage Class, and by message »8: Return estimated grants and payments for week in the other direction

Slide 7B.25 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Estimate Funds Available for Week Use Case l Item 6 – Now the arithmetic computation of Step 6 of the scenario is performed – This is modeled by message »9: Compute estimated amount available for week – This is a self call – : Estimate Funds for Week Class tells itself to perform the calculation – The result of the computation is stored in : MSG Application Class by message »10: Transfer estimated amount available for week

Slide 7B.26 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Estimate Funds Available for Week Use Case l Item 7 – The result is printed in Step 7 of the scenario – This is modeled by message »11: Print estimated amount available – from : MSG Application Class to : Estimated Funds Report Class

Slide 7B.27 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Estimate Funds Available for Week Use Case l Item 8 – Finally, an acknowledgment is sent to the MSG staff member that the task has been successfully completed – This is modeled by messages »12: Send successful completion message »13: Send successful completion message »14: Transfer successful completion message, and »15: Display successful completion message

Slide 7B.28 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Continued in Unit 7C