As analysis proceeds, you recognize

Slides:



Advertisements
Similar presentations
CPSC 333: Foundations of Software EngineeringJ. Denzinger 2.2. Use Cases: Scenario based requirements modeling Recommended: Booch, Rumbaugh, Jacobson:
Advertisements

1 Use Cases and Scenarios Scenario 1. Get the passenger’s ticket or record locator 1. Locate the passenger’s reservation 2. Is this the right passenger,
Summary so far……..  SPECIAL JOURNALS  Special journals  classify and summarise data from source documents.  The use of special journals  allows.
Information System Engineering
Use Case - Example University library system requirements
Jan 2003Ron McFadyen Generalization (Ch 26) a generalization is a relationship between a general thing (the superclass or parent class) and a.
September Ron McFadyen1 design analysis implementation testing maintenance Waterfall Development Process Linear one phase is completed before.
Use Case Diagram © copyright 2001 SNU OOPSLA Lab..
January Ron McFadyen1 Use Cases in the UML Functionality under consideration is represented by use cases (named ellipses) enclosed in a box.
Conversation Form l One path through a use case that emphasizes interactions between an actor and the system l Can show optional and repeated actions l.
Jan Ron McFadyen1 Use Cases in the UML Functionality under consideration is represented by use cases (named ellipses) enclosed in a box Actors.
Jan Ron McFadyen1 Consider a simple cash-only Process Sale scenario 1. Customer arrives at a POS checkout with goods and/or services to purchase.
January Ron McFadyen1 Ch 9. Use-case model: drawing System Sequence Diagrams Elaboration Iteration 1: a simple cash-only success scenario of.
Sept Ron McFadyen1 Use Cases Introduced by Ivar Jacobson in 1986 literal translation from Swedish ”usage case” - may be of.
Fall 2009ACS-3913 Ron McFadyen1 Use Cases Used to capture functional requirements – there are other requirements categories such as usability, reliability,
Jan R. McFadyen1 Use Case development As analysis proceeds, you recognize commonality amongst the Use Cases that you will abstract out into.
A use case describes one “case” of how a user can use the system.
Software Engineering Lecture 9 Object-Oriented Design II.
Jan R McFadyen1 Use Cases Widely used. Not just an OO technique. Diagramming defined in UML Each Use Case will meet one or more user goals;
Nov 2002 R. McFadyen1 Statechart Diagrams - Ch 29 Example: Suppose we have a class Copy, representing copies of books. We can consider two states:
Iteration 3 Relating Use Cases Domain Model Refinement SSD and Contracts.
CS 501: Software Engineering Fall 2000 Lecture 12 Object-Oriented Design II.
Marcelo Santos – OOAD-CDT309, Spring 2008, IDE-MdH 1 Object-Oriented Analysis and Design - CDT309 Period 4, Spring 2008 More on use cases System sequence.
Object-Oriented Development Process Part I: Requirement Gathering Warsun Najib Department of Electrical Engineering Gadjah Mada University.
Sept Ron McFadyen1 Extend Relationship.
Requirements Gathering : Determining the scope of the system 1. Elicitiation – fact finding 2. Specification 3. Validation.
Use Case Diagram : Library System
CIS224 Software Projects: Software Engineering and Research Methods
Use Case Analysis From soft systems methodology to understanding the system functionality.
Use Cases Why use ‘em? How do they work? UC diagrams Using them later in the software development cycle.
Software Engineering 1 Object-oriented Analysis and Design Chap 30 Relating Use Cases.
Object-Oriented Analysis - Instructor Notes
Use Cases 2 ENGR ♯10 Peter Andreae
1 © 2005 course technology University Of Palestine Chapter 6 Storyboarding the User’s Experience.
System Specification Specify system goals Develop scenarios Define functionalities Describe interface between the agent system and the environment.
1 Object orientation. 2 What benefits does OO give? Primarily –Encapsulation (Associates data & operations) –Types & specialisation –Software re-use.
R McFadyen Chapter 7 Conceptual Data Modeling.
© 2005 course technology1 1 1 University Of Palestine UML for The IT Business Analyst A practical guide to Object Oriented Requirement Gathering Hoard.
Sept Ron McFadyen1 Section 10.1 Domain Models Domain Model: a visual representation of conceptual classes or real-world objects in a domain.
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 20. Review Software Requirements Requirements Engineering Process.
Originated by K.Ingram, J.Westlake.Edited by N.A.Shulver Use Case Scripts What is a Use Case Script? The text to describe a particular Use Case interaction.
Chapter 9 Applying UML and Patterns -Craig Larman
1 Use Case Modeling Reference: RUP Doc. Use Case Example 2.
Sept Ron McFadyen1 Class Diagram Begins as a conceptual or analysis class model and evolves to a design class model Used throughout the development.
Use Case Diagram The purpose is to communicate the system’s functionality and behaviour to the customer or end user. Mainly used for capturing user requirements.
CS 772: Global Knowledge Networks V. “Juggy” Jagannathan CSEE, West Virginia University.
Adv. Use cases Actor generalization – general and special actors Use case generalization – general and special use cases Include and extend relationships.
Staffordshire UNIVERSITY School of Computing Version Jan 08 original by K.Ingram & J.Westlake1 Use Case Scripts The text to describe a particular Use Case.
2/6/03C-1 © 2001 T. Horton CS 494 Object-Oriented Analysis & Design Requirements and Use Cases.
Scenario A scenario is a sequence of steps describing an interaction between a user and a system. Use case is a set of scenarios tied together by a common.
Sept Ron McFadyen1 Use Cases Introduced by Ivar Jacobson in 1986 literal translation from Swedish ”usage case” Used to capture and describe.
Sept 2004Ron McFadyen Generalization (Ch 26) a generalization is a relationship between a general thing (the superclass or parent class) and a.
2007ACS-3913 Ron McFadyen1 Generalization a generalization is a relationship between a general thing (the superclass or parent class) and a more specific.
PowerPoint Presentation for Dennis, Wixom, & Tegarden Systems Analysis and Design with UML, 5th Edition Copyright © 2015 John Wiley & Sons, Inc. All rights.
March 2007ACS-3913 R. McFadyen1 UML Statechart Diagram A UML Statechart Diagram describes states for an object how/why an objects’ state changes A Statechart.
Requirements capture: Using UML Use Cases David Millard and Yvonne Howard {dem,
Sept Ron McFadyen1 Include Relationship UC1:Process Sale … Main Success Scenario … 7. Customer pays and System handles payment. … Extensions.
Jan Ron McFadyen1 Use Cases Used to capture functional requirements – there are other requirements categories such as usability, reliability,
Chapter 16 Accounting.
Chapter 4: Business Process and Functional Modeling, continued
Use case diagrams A use case diagram is UML’s notation for showing the relationships among a set of use cases and actors A use case diagram can help the.
Use Case Model Use case diagram.
UML Use Case Diagrams.
Rob Gleasure IS3320 Developing and Using Management Information Systems Lecture 8: Use Cases and Scenarios Rob Gleasure.
Relating Use Cases popo.
Use Cases 1.
Algorithms.
CIS224 Software Projects: Software Engineering and Research Methods
a generalization is a relationship between a general thing (the
Lecture 8 Object Concepts
Presentation transcript:

As analysis proceeds, you recognize Use Case development As analysis proceeds, you recognize commonality amongst the Use Cases that you will abstract out into common Use Cases, and complexity due to error handling and alternative flows that may be placed in extensions to the basic Use Cases There are no binding rules here, except for the one that tells you to create concise, clear, understandable, easy-to-read, and correct specifications! Why was this important? It clarified our vocabulary and It included all the parts we needed to function Discuss other ways to write use cases narrative formal scripts Sept 2002 91.3913 R. McFadyen

Use Case relationships: extends, includes, generalization Originates because of thoughts like: What could go wrong here? How might this work out differently? Includes Why was this important? It clarified our vocabulary and It included all the parts we needed to function Discuss other ways to write use cases narrative formal scripts When you have a chunk of behaviour that is similar across more than one use case and you don’t want to keep copying the description of that behaviour … use an Includes association Sept 2002 91.3913 R. McFadyen

Used to factor out behaviour to create reusable parts Use Case - Include Used to factor out behaviour to create reusable parts simplifies descriptions, but diagram becoming more complex for user comprehension a refinement where some design decision is being made Note direction of the association Extend loan BookBorrower <<include>> Check for reservation Borrow copy <<include>> Sept 2002 91.3913 R. McFadyen

Perhaps each user must be validated Use Case - Include Perhaps each user must be validated Extend loan BookBorrower <<include>> Validate user Borrow copy <<include>> Sept 2002 91.3913 R. McFadyen

Use Case - Include Process Sale Handle Cheque Payment Handle Cash Handle Credit Payment Cashier <<include>> <<include>> <<include>> Process Rental Sept 2002 91.3913 R. McFadyen

Used for “unusual” cases Use Case - Extend Used for “unusual” cases a refinement where some design decision is being made The target Use Case extends the source Use Case at a given extension point the association goes from the exceptional to the more general Main Case borrow copy BookBorrower <<extends>> Subsidiary Case refuse loan Sept 2002 91.3913 R. McFadyen

The extending Use Case points to the base Use Case Use Case - Extend The extending Use Case points to the base Use Case The condition and the extension point can be shown Base Use Case borrow copy Extension Point: Overdue Book Check BookBorrower <<extends>> borrower has overdue books Extending Use Case refuse loan Sept 2002 91.3913 R. McFadyen

Use Case Example - textual Ch 6 example. Process Sale Ch 25 example Process Rental Handle Credit Payment Handle Cheque Payment Handle Gift Certificate Payment Sept 2002 91.3913 R. McFadyen