Slide 12F.135 © The McGraw-Hill Companies, 2005 Object-Oriented and Classical Software Engineering Sixth Edition, WCB/McGraw-Hill, 2005 Stephen R. Schach.

Slides:



Advertisements
Similar presentations
Gerhard Dueck -- CS3013Capturing Requirements as Use Cases 1 Capturing the Requirements as use Cases  Requirements Description  We need to describe –The.
Advertisements

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 4.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
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 7D.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
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.
Slide 9.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
Slide 7B.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.
NJIT Drawing System Sequence Diagrams Chapter 10 Applying UML and Patterns Craig Larman Presented by Anuradha Dharani.
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.
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 11B.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
Slide 17.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.
SE 555 Software Requirements & Specification Requirements Analysis.
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 10C.52 © The McGraw-Hill Companies, 2005 Object-Oriented and Classical Software Engineering Sixth Edition, WCB/McGraw-Hill, 2005 Stephen R. Schach.
Slide 12E.121 © The McGraw-Hill Companies, 2005 Object-Oriented and Classical Software Engineering Sixth Edition, WCB/McGraw-Hill, 2005 Stephen R. Schach.
Objects What are Objects Observations
Slide 11.1 Copyright © 2008 by The McGraw-Hill Companies, Inc. All rights reserved. Object-Oriented Software Engineering WCB/McGraw-Hill, 2008 Stephen.
UML - Development Process 1 Software Development Process Using UML (2)
OBJECT-ORIENTED ANALYSIS PHASE
Slide 12.1 © The McGraw-Hill Companies, CS 4310: Software Engineering Lecture 7 Systems Analysis Object-Oriented Design.
Object Oriented Analysis By: Don Villanueva CS 524 Software Engineering I Fall I 2007 – Sheldon X. Liang, Ph. D.
Copyright by Dr. Clarence Lau, IVE(TY)
Slide 16B.51 © The McGraw-Hill Companies, 2005 Object-Oriented and Classical Software Engineering.
Slide 10A.1 © The McGraw-Hill Companies, 2005 Object-Oriented and Classical Software Engineering Sixth Edition, WCB/McGraw-Hill, 2005.
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.
Software Engineering Chapter 7 Fall Capturing the Requirements as Use Cases Capturing the Requirements as Use Cases By using use cases analysts.
1 Analysis Extracting from Use Cases to Create Diagrams.
Copyright 2002 Prentice-Hall, Inc. Chapter 2 Object-Oriented Analysis and Design Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey.
Slide 11C.104 © The McGraw-Hill Companies, 2005 Object-Oriented and Classical Software Engineering Sixth Edition, WCB/McGraw-Hill, 2005 Stephen R. Schach.
Practical Object-Oriented Design with UML 2e Slide 1/1 ©The McGraw-Hill Companies, 2004 PRACTICAL OBJECT-ORIENTED DESIGN WITH UML 2e Chapter 4: Restaurant.
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 13B.22 © The McGraw-Hill Companies, 2005 Object-Oriented and Classical Software Engineering Sixth Edition, WCB/McGraw-Hill, 2005 Stephen R. Schach.
CSC 395 – Software Engineering Lecture 14: Object-Oriented Analysis –or– Ripping the Band-Aid Off Quickly.
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.
2 2009/10 Object Oriented Technology 1 Topic 2: Introduction to Object-Oriented Approach Reference: u Ch.16 Current Trends in System Development (Satzinger:
UML as a Specification Language for Embedded Systems. By, Mir Ahmed Ali, Asst. Professor, ECM department, SNIST. By, Prof. Narsiah sir, Director of School.
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.
Slide 13.1 © The McGraw-Hill Companies, 2002 Object-Oriented and Classical Software Engineering Fifth Edition, WCB/McGraw-Hill, 2002 Stephen R. Schach.
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.
Yazd University, Electrical and Computer Engineering Department Course Title: Advanced Software Engineering By: Mohammad Ali Zare Chahooki The Rational.
Slide 10.1 Copyright © 2008 by The McGraw-Hill Companies, Inc. All rights reserved. Object-Oriented Software Engineering WCB/McGraw-Hill, 2008 Stephen.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 4 Slide 1 Software Processes.
CHAPTER 12 OBJECT-ORIENTED ANALYSIS. Overview Extracting the entity classes Object-oriented analysis: The elevator problem case study Functional modeling.
Object-Oriented and Classical Software Engineering Seventh Edition, WCB/McGraw-Hill, 2010 Stephen R. Schach
Modified from Sommerville’s originalsSoftware Engineering, 7th edition. Chapter 14 Slide 1 Object-Oriented Design.
Slide 13A.1 © The McGraw-Hill Companies, 2005 Object-Oriented and Classical Software Engineering Sixth Edition, WCB/McGraw-Hill, 2005 Stephen R. Schach.
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
Object-Oriented and Classical Software Engineering Sixth Edition, WCB/McGraw-Hill, 2005 Stephen R. Schach
Object-Oriented and Classical Software Engineering Fifth Edition, WCB/McGraw-Hill, 2002 Stephen R. Schach
Object-Oriented and Classical Software Engineering Sixth Edition, WCB/McGraw-Hill, 2005 Stephen R. Schach
Presentation transcript:

Slide 12F.135 © The McGraw-Hill Companies, 2005 Object-Oriented and Classical Software Engineering Sixth Edition, WCB/McGraw-Hill, 2005 Stephen R. Schach

Slide 12F.136 © The McGraw-Hill Companies, 2005 CHAPTER 12 — Unit F OBJECT-ORIENTED ANALYSIS

Slide 12F.137 © The McGraw-Hill Companies, 2005 Continued from Unit 12E

Slide 12F.138 © The McGraw-Hill Companies, 2005 l Class diagrams are presented for the remaining five use cases l The realizations are straightforward The Remaining Five Use Cases

Slide 12F.139 © The McGraw-Hill Companies, 2005 l Class diagram Sell a Painting Use Case Figure 12.42

Slide 12F.140 © The McGraw-Hill Companies, 2005 Produce a Purchases Report Use Case l Class diagram Figure 12.43

Slide 12F.141 © The McGraw-Hill Companies, 2005 Produce a Sales Report Use Case l Class diagram Figure 12.44

Slide 12F.142 © The McGraw-Hill Companies, 2005 l Class diagram Produce a Future Trends Report Use Case Figure 12.45

Slide 12F.143 © The McGraw-Hill Companies, 2005 l Class diagram Modify a Fashionability Coefficient Use Case Figure 12.46

Slide 12F.144 © The McGraw-Hill Companies, Incrementing the Class Diagram: The Osbert Oglesby Case Study l In the course of realizing the various use cases  Interrelationships between classes become apparent l Accordingly, we now combine the realization class diagrams

Slide 12F.145 © The McGraw-Hill Companies, 2005 Combining the Realization Class Diagrams Figure 12.47

Slide 12F.146 © The McGraw-Hill Companies, 2005 l Fifth iteration + realization class diagram Sixth Iteration of the Class Diagrams Figure 12.48

Slide 12F.147 © The McGraw-Hill Companies, 2005 l As with the classical paradigm, the SPMP is drawn up at this point  It appears in Appendix F  The plan conforms to the IEEE SPMP format Software Project Management Plan

Slide 12F.148 © The McGraw-Hill Companies, 2005 l CRC cards are used to check the entity classes l All the artifacts are then inspected The Test Workflow: The Osbert Oglesby Case Study

Slide 12F.149 © The McGraw-Hill Companies, The Specification Document in the Unified Process l The Unified Process is use-case driven  The use cases and the artifacts derived from them replace the traditional textual specification document l The client must be shown each use case and associated artifacts, both diagrammatic and textual  These UML diagrams convey to the client more information more accurately than the traditional specification document  The set of UML diagrams can also play the same contractual role as the traditional specification document

Slide 12F.150 © The McGraw-Hill Companies, 2005 The Specification Document (contd) l A scenario is a specific execution sequence l The client can therefore appreciate how the product works equally well from  A use case together with its scenarios, or  A rapid prototype l The difference is  The use cases are successively refined, with more information added each time, whereas  The rapid prototype is discarded

Slide 12F.151 © The McGraw-Hill Companies, 2005 The Specification Document (contd) l However, a rapid prototype of the user interface is required  Specimen screens and reports are needed (not a complete rapid prototype)

Slide 12F.152 © The McGraw-Hill Companies, More on Actors and Use Cases l To find the actors, consider every role in which an individual can interact with the software product  Example: Applicants, Borrowers l Actors are not individuals  They are roles played by those individuals l Find all the different roles played by each user  From the list of roles, extract the actors

Slide 12F.153 © The McGraw-Hill Companies, 2005 More on Actors and Use Cases (contd) l 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 workers l In common parlance  The word “worker” usually refers to an employee l In this book, the word “role” is used in place of “worker”

Slide 12F.154 © The McGraw-Hill Companies, 2005 More on Actors and Use Cases (contd) l Within a business context, finding the roles is easy  They are displayed within the use-case business model l To find the actors  Find the subset of the use-case business model that corresponds to the use-case model of the requirements

Slide 12F.155 © The McGraw-Hill Companies, 2005 More on Actors and Use Cases (contd) l 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 proposed software product  The actors in this subset are the actors we seek

Slide 12F.156 © The McGraw-Hill Companies, 2005 More on Actors and Use Cases (contd) l Within a business context, finding use cases is easy l For each role, there will be one or more use cases  Find the actors (see previous slide)  The use cases then follow

Slide 12F.157 © The McGraw-Hill Companies, CASE Tools for the Object-Oriented Analysis Workflow l Diagrams play a major role in object-oriented analysis l Diagrams often change  We need a diagramming tool  Many tools go further l All modern tools support UML  Commercial examples »Rose »Together  Open-source example »ArgoUML

Slide 12F.158 © The McGraw-Hill Companies, Challenges of the Object-Oriented Analysis Workflow l Do not cross the boundary into object-oriented design l Do not allocate methods to classes yet  Reallocating methods to classes during stepwise refinement is wasted effort