Staffordshire UNIVERSITY School of Computing Version Jan 08 original by K.Ingram & J.Westlake1 Special Relationships between Use Cases Normally it is not.

Slides:



Advertisements
Similar presentations
Week 2 The Object-Oriented Approach to Requirements
Advertisements

Use cases Use-cases are a scenario based technique in the UML which identify the actors in an interaction and which describe the interaction itself A set.
Use Case Model. C-S 5462 Use case model describes what the user expects the system to do –functional requirements may describe only the functionalities.
Documentation Letts Study Guide Information Systems - IT Chapter 19.
Information System Engineering
Chapter 6 Review Questions
Assignment I, part 1. Groups of three students. Specify one as group leader. group names to TA and me. Create an object-oriented conceptualization.
Use Case Diagram © copyright 2001 SNU OOPSLA Lab..
Jan 16, Ron McFadyen1 Ch 9. Use-case model: drawing System Sequence Diagrams Iteration 1: a simple cash-only success scenario of Process Sale.
Lecturer: Sebastian Coope Ashton Building, Room G.18 COMP 201 web-page: Lecture.
Systems Analysis and Design in a Changing World, Fourth Edition
Use Case modelling How to go from a diagram to a further definition.
1 Understanding and Managing Finance 3 This Presentation is in Self-Study Form To start the presentation: Press F5 (Top Row of Keyboard) Then use the navigation.
Documenting Requirements using Use Case Diagrams
Understanding and Managing Finance Presentation 2 Brief Version.
A use case describes one “case” of how a user can use the system.
Use Case Analysis – continued
Information for students – expression of interest in modules Welcome to the S 3 P system. This PowerPoint will give you details of how to express an interest.
The Project AH Computing. Functional Requirements  What the product must do!  Examples attractive welcome screen all options available as clickable.
Chapter 7: The Object-Oriented Approach to Requirements
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 Analysis From soft systems methodology to understanding the system functionality.
National Diploma in Systems Analysis and Design Data Flow Modelling.
Why Analysis Process Refer to earlier chapters Models what the system will do makes it easier for understanding no environment considered (hence, system.
XP New Perspectives on Microsoft Office Access 2003 Tutorial 12 1 Microsoft Office Access 2003 Tutorial 12 – Managing and Securing a Database.
Chapter 7 Structuring System Process Requirements
Introduction to Sequence Diagrams
Instructor: Tasneem Darwish1 University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Object Oriented.
Staffordshire UNIVERSITY School of Computing Version Jan 08 original by K.Ingram & J.Westlake1 Use Case Diagrams What are they? What do they look like?
CSC 213 – Large Scale Programming Lecture 3: Object-Oriented Analysis.
Interaction Models (2): Sequence Diagrams Extracted from textbook: Object Oriented Modeling and Design with UML M. Blaha, J. Rumbaugh 1.
Requirements as Usecases Capturing the REQUIREMENT ANALYSIS DESIGN IMPLEMENTATION TEST.
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.
Intermediate 2 Software Development Process. Software You should already know that any computer system is made up of hardware and software. The term hardware.
1 Object-Oriented Modeling Using UML CS 3331 Section 2.4 Modeling Requirements with Use Cases.
1 Structuring Systems Requirements Use Case Description and Diagrams.
1 Chapter 4 Analyzing End-to-End Business Processes.
Systems Analysis and Design in a Changing World, 6th Edition
Use Cases Use Cases are employed to describe the functionality or behavior of a system. Each use case describes a different capability that the system.
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.
Use Case Driven Analysis Requirements Use Case Use Case Description System Sequence Diagram Chapter 5.
1 Version /05/2004 © 2004 Robert Oshana Requirements Engineering Use cases.
Database Design Normalisation. Last Session Looked at: –What databases were –Where they are used –How they are used.
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.
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.
Systems Analysis and Design in a Changing World, Fourth Edition
Intermediate 2 Computing Unit 2 - Software Development.
UML (Unified Modeling Language)
Object-Oriented Analysis and Design Use cases Finding classes Collaboration and Sequence diagrams Associations between classes.
1 SWE Introduction to Software Engineering Lecture 14 – System Modeling.
Diagram Editor Use Case Analysis Assumption: simple stand-alone, single user application. Three basic kinds of interaction of the user with the diagram.
CSCI 383 Object-Oriented Programming & Design Lecture 7 Martin van Bommel.
7 Systems Analysis – ITEC 3155 The Object Oriented Approach – Use Cases.
Distributed Java Programming Distributed Java Programming Class #1 August 20, 2002.
Requirements capture: Using UML Use Cases David Millard and Yvonne Howard {dem,
UML Review Sequence Diagrams SE-2030 Dr. Rob Hasker 1 Based on slides written by Dr. Mark L. Hornick Used with permission.
NORMALISATION OF DATABASES. WHAT IS NORMALISATION? Normalisation is used because Databases need to avoid have redundant data, which makes it inefficient.
Class 11 Outline Business – Qs on artifact model assignment? – Qs on draft project models? Activities – Card Sorting – Use Cases.
Systems Analysis and Design in a Changing World, Fourth Edition
Welcome to M301 P2 Software Systems & their Development
Business System Development
Use Case Model.
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.
Week 10: Object Modeling (1)Use Case Model
Start at 17th March 2012 end at 31th March 2012
Use Cases 1.
Use Case Model Use case diagram – Part 2.
Seminar 2 Design of Informatics Systems
Information for students – expression of interest in modules
Lecture 8 Object Concepts
Presentation transcript:

Staffordshire UNIVERSITY School of Computing Version Jan 08 original by K.Ingram & J.Westlake1 Special Relationships between Use Cases Normally it is not necessary to identify interactions between use cases (too much detail for this stage) However the functionality of a use case can sometimes be split up into “modules” by –Extends – this means optionally extended by another use case –Includes or Uses – this means always uses another use case original by K.Ingram & J.Westlake

Staffordshire UNIVERSITY School of Computing Version Jan 08 original by K.Ingram & J.Westlake2 The Extends relationship If 2 use cases are similar but 1 does more than the other, can you identify some common functionality? If so, consider putting the common functionality in 1 use case and the extras in a second - the second then “extends” the first.

Staffordshire UNIVERSITY School of Computing Version Jan 08 original by K.Ingram & J.Westlake3 Example of Extends If your customer tries to pay for a rented DVD but has forgotten their wallet, you may put the DVD behind the counter until they return with the money. This is an extension to the normal use case of ‘Pay for DVD’ to bundle it up with the usual situation will clutter up the logic

Staffordshire UNIVERSITY School of Computing Version Jan 08 original by K.Ingram & J.Westlake4 Example Use Case Diagram of Extends Customer Pay for DVD No money > Note the direction of the Arrow – the No Money use Case optionally happens

Staffordshire UNIVERSITY School of Computing Version Jan 08 original by K.Ingram & J.Westlake5 Identifying Extends relationships 1. Document the normal, simple use case 2. identify “what could go wrong?” 3. identify “how may it work differently?”

Staffordshire UNIVERSITY School of Computing Version Jan 08 original by K.Ingram & J.Westlake6 The Includes (or Uses) relationship Do two (or more) use cases have a chunk of identical functionality? If so, consider extracting the common functionality from both and putting it in another use case - this can then be > by each of the others. You may see > in your reading but > is now written instead

Staffordshire UNIVERSITY School of Computing Version Jan 08 original by K.Ingram & J.Westlake7 Example of Includes If a customer asks for a particular DVD the assistant checks where the copies are. If the manager is doing stock checks this may include finding where specific titles are. to include a find it or search for in each of the original use cases means you would have to handle it twice in your UML, to code it twice, to test it twice,….

Staffordshire UNIVERSITY School of Computing Version Jan 08 original by K.Ingram & J.Westlake8 Example Use Case Diagram of Includes Customer > Request DVD Manager Check stock Locate DVD Note the direction of the Arrow – to Check Stock the use case ALWAYS includes the use of Locate DVD use case

Staffordshire UNIVERSITY School of Computing Version Jan 08 original by K.Ingram & J.Westlake9 When is a Use Case not a Use Case? A use case is a process or sometimes referred to as a business function required of the system being considered a use case can normally be broken down into many steps - each individual step is not shown as a separate use case. A use case can be carried out at One Time, in One Place, by One Person (OTOPOP). –The person being an Actor role

Staffordshire UNIVERSITY School of Computing Version Jan 08 original by K.Ingram & J.Westlake10 One diagram or many? Too much on a diagram negates its purpose You may decide it all fits on 1 diagram or you may decide to split the diagram –1 diagram for each actor –or 1 diagram for each main business activity Splitting the diagram means a Use Case or an Actor may be shown more than once – this is okay –As explained last week the best approach is top level view of use cases and then do a separate sheet for the use cases being broken down and then repeat at the next level if needs be