Appendix Object-Oriented Analysis and Design: Use Cases and Sequence Diagrams Modern Systems Analysis and Design Fifth Edition Jeffrey A. Hoffer Joey F.

Slides:



Advertisements
Similar presentations
Object-Oriented Analysis and Design: Activity Diagrams
Advertisements

© 2005 by Prentice Hall Appendix 3 Object-Oriented Analysis and Design Modern Systems Analysis and Design Fourth Edition Jeffrey A. Hoffer Joey F. George.
Chapter 8 Logic Requirements
Chapters 7 & 9 System Scope
Chapter 7 Structuring System Process Requirements
Chapter 7 Structuring System Process Requirements
Chapter 7 Structuring System Process Requirements
Object-Oriented Application Development Using VB.NET 1 Chapter 5 Object-Oriented Analysis and Design.
Object-Oriented Analysis and Design: Object Modeling – Class Diagrams
Appendix Object-Oriented Analysis and Design: Use Cases Modern Systems Analysis and Design Fifth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 1 Appendix 3 Object-Oriented Analysis and Design.
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall A.1.
Object-Oriented Analysis and Design
2-1 © Prentice Hall, 2007 Chapter 2: Introduction to Object Orientation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
Chapter 18 Object-Oriented Systems Analysis and Design Using UML
Systems Analysis and Design in a Changing World, Fourth Edition
© 2005 Prentice Hall4-1 Stumpf and Teague Object-Oriented Systems Analysis and Design with UML.
9-1 © Prentice Hall, 2004 Chapter 9, Part II: System Behavior - Interactions (Adapted) Object-Oriented Systems Analysis and Design Joey F. George, Dinesh.
Sequence Diagram. What is Sequence Diagram?  Sequence Diagram is a dynamic model of a use case, showing the interaction among classes during a specified.
Copyright 2004 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Second Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Appendix.
Modern Systems Analysis and Design Fifth Edition Jeffrey A
Object-Oriented Analysis and Design: Sequence Diagrams
Use Case Modeling.
Use Case Modeling. Kendall & Kendall© 2005 Pearson Prentice Hall18-2 Commonly Used UML Diagrams The most commonly used UML diagrams are: – Use case diagram,
System Analysis and Design
Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey A. Hoffer
Unified Modeling Language
Chapter 7 Structuring System Process Requirements
Chapter 7: The Object-Oriented Approach to Requirements
Chapter 7 Appendix D Business Process Modeling
Chapter 7 Structuring System Process Requirements Modern Systems Analysis and Design Sixth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
Chapter 7 Structuring System Process Requirements
Chapter 7 Structuring System Process Requirements
State diagrams Interaction diagrams –Sequence diagrams –Collaboration diagrams Object orientation Part 4: Dynamic Modeling.
Copyright 2001 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Appendix A Object-Oriented.
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 20 Object-Oriented.
Copyright 2002 Prentice-Hall, Inc. Chapter 2 Object-Oriented Analysis and Design Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey.
Chapter 7 Appendix A Object-Oriented Analysis and Design: Use Cases Modern Systems Analysis and Design Seventh Edition Jeffrey A. Hoffer Joey F. George.
7 Systems Analysis and Design in a Changing World, Fifth Edition.
1 Structuring Systems Requirements Use Case Description and Diagrams.
9-1 © Prentice Hall, 2004 Chapter 9: Analysis Classes Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey.
9-1 © Prentice Hall, 2007 Chapter 9: Analysis Classes Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey.
Discovering object interaction. Use case realisation The USE CASE diagram presents an outside view of the system. The functionality of the use case is.
© 2008 Prentice Hall, Ovidiu Noran Lecture 7b 1 Modelling OO Logic Requirements: Sequence Diagrams and Activity Diagrams (Textbook Chapter 8, Appendix)
Interaction Diagrams Interaction Diagrams allow the designer to show how groups of objects collaborate in some behavior. –Interaction Diagrams will show.
Chapter 7 Appendix C Object-Oriented Analysis and Design: Sequence Diagrams Modern Systems Analysis and Design Sixth Edition Jeffrey A. Hoffer Joey F.
Software Engineering Software Engineering - Mr. Ahmad Al-Ghoul.
Chapter 7 Appendix B Object-Oriented Analysis and Design: Activity Diagrams Modern Systems Analysis and Design Seventh Edition Jeffrey A. Hoffer Joey F.
Systems Analysis and Design in a Changing World, Fourth Edition
Chapter 7 Structuring System Process Requirements Modern Systems Analysis and Design Fourth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
4-1 © Prentice Hall, 2007 Topic 4: Structuring Systems Requirements: Use Case Description and Diagrams Object-Oriented Systems Analysis and Design Joey.
7-1 © Prentice Hall, 2007 Topic 7: Analysis Classes Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey.
Chapter 6: Structuring Requirements: Use Case Description and Diagrams Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall Appendix A Object-Oriented Analysis and Design A.1.
© 2005 by Prentice Hall Chapter 7 Structuring System Process Requirements Modern Systems Analysis and Design Fourth Edition Jeffrey A. Hoffer Joey F. George.
 The Sequence Diagram models the collaboration of objects based on a time sequence.  It shows how the objects interact with others in a particular scenario.
1 7 Systems Analysis and Design in a Changing World, 2 nd Edition, Satzinger, Jackson, & Burd Chapter 7 The Object-Oriented Approach to Requirements.
Systems Analysis and Design in a Changing World, Fourth Edition
Appendix 3 Object-Oriented Analysis and Design
Chapter 7 Appendix A Object-Oriented Analysis and Design: Use Cases
Business System Development
Object-Oriented Analysis and Design: Sequence Diagrams
Business System Development
Chapter 8 Logic Requirements
Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey A. Hoffer
Chapter 20 Object-Oriented Analysis and Design
Appendix A Object-Oriented Analysis and Design
Appendix A Object-Oriented Analysis and Design
Appendix A Object-Oriented Analysis and Design
Appendix 3 Object-Oriented Analysis and Design
Presentation transcript:

Appendix Object-Oriented Analysis and Design: Use Cases and Sequence Diagrams Modern Systems Analysis and Design Fifth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich

© 2008 by Prentice Hall 2 Chapter 7 Appendix Learning Objectives Explain use cases and use case diagrams and how they can be used to model system functionality. Discuss process modeling with use cases for electronic commerce application. Understand how to represent system logic with sequence diagrams.

Use Cases Use case is a depiction of a system’s behavior or functionality under various conditions as the system responds to requests from users. Actor is an external entity that interacts with the system. Chapter 7 Appendix 3 © 2008 by Prentice Hall

Use Cases (Cont.) © 2008 by Prentice Hall 4 Chapter 7 Appendix Figure 7-23 A use case diagram for a university registration system.

Use Cases (Cont.) Most actors represent user roles, but actors can also be external systems. An actor is a role, not a specific user; one user may play many roles, and an actor may represent many users. A use case model consists of actors and use cases. Chapter 7 Appendix 5 © 2008 by Prentice Hall

Use Cases diagrams Use case diagram: a picture showing system behavior along with the key actors that interact with the system. Abstract use case is when a use case is initiated by another use case. A use case represents completely functionality. © 2008 by Prentice Hall 6 Chapter 7 Appendix

Definitions and Symbols Use Case Actor Boundary Connection Include relationship Extend relationship > Chapter 7 Appendix 7 © 2008 by Prentice Hall

Definitions and Symbols (Cont.) Actor is a role, not an individual.  Involved with the functioning of the system at some basic level.  Represented by stick figures. Use case represents a single system function.  Represented as an eclipse. © 2008 by Prentice Hall 8 Chapter 7 Appendix

Definitions and Symbols (Cont.) System boundary includes all the relevant use cases.  A boundary is the dividing line between the system and its environment.  Use cases are within the boundary.  Actors are outside of the boundary.  Represented as a box. Chapter 7 Appendix 9 © 2008 by Prentice Hall

Definitions and Symbols (Cont.) Connection is an association between an actor and a use case.  Depicts a usage relationship.  Connection does not indicate data flow.  Actors are connected to use cases with lines.  Use cases are connected to each other with arrows. Chapter 7 Appendix 10 © 2008 by Prentice Hall

Definitions and Symbols (Cont.) Extend relationship is an association between two use cases where one adds new behaviors or actions to the other.  Extends a use case by adding new behavior or actions.  Specialized use case extends the general use case. Chapter 7 Appendix 11 © 2008 by Prentice Hall

Definitions and Symbols (Cont.) Include relationship is an association between two use cases where one use case uses the functionality contained in the other.  Indicates a use case that is used (invoked) by another use case.  Links to general purpose functions, used by many other use cases. Chapter 7 Appendix 12 © 2008 by Prentice Hall

Definitions and Symbols (Cont.) © 2008 by Prentice Hall 13 Chapter 7 Appendix Figure 7-24 A use case diagram featuring an include relationship.

Written Use Cases Document containing detailed specifications for a use case. Contents can be written as simple text or in a specified format. Step-by-step description of what must occur in a successful use case. Chapter 7 Appendix 14 © 2008 by Prentice Hall

Electronic Commerce Application: Process Modeling using Use Cases Model the functionality of Pine Valley Furniture Webstore Application with a use case diagram. Six high-level functions identified to be included in the use case diagram. The functions represent the “work” or “action” parts of the Website. © 2008 by Prentice Hall 15 Chapter 7 Appendix

Electronic Commerce Application: Process Modeling using Use Cases (Cont.) © 2008 by Prentice Hall 16 Chapter 7 Appendix Figure 7-26 WebStore use case diagram

Dynamic Modeling: Sequence Diagrams Sequence diagram: depicts the interactions among objects during a certain periods of time. May be presented either in a generic form or in an instance form. Generic form shows all possible sequences of interactions – sequences corresponding to all the scenarios of a use case. Instance form shows the sequence for only one scenario.

Dynamic Modeling: Sequence Diagrams (Cont.) Elements of a sequence diagram  Objects: represented by boxes at top of diagram.  Lifeline: the time during which an object exists.  Messages: means by which objects communicate with each other.

Dynamic Modeling: Sequence Diagrams (Cont.) Activation: the time period during which an object performs an operation. Synchronous message: a type of message in which the caller has to wait for the receiving object to finish executing the called operation before it can resume execution itself.

Dynamic Modeling: Sequence Diagrams (Cont.) Simple message: a message that transfer control from the sender to the recipient without describing the details of the communication. Asynchronous message: a message in which the sender does not have to wait for the recipient to handle the message.

Designing a Use Case with a Sequence Diagram Figure 8-11 Sequence diagram for a class registration scenario without prerequisites

Summary In this appendix you learned how to: Explain use cases and use case diagrams. Explain how they can be used to model system functionality. Discuss process modeling with use cases for electronic commerce application. Understand how to represent system logic with sequence diagrams. Chapter 7 Appendix 22 © 2008 by Prentice Hall