Kravansvarig för PUM-projekt

Slides:



Advertisements
Similar presentations
Use Case Diagrams.
Advertisements

UML and WSDL for JISC e-Learning Projects INTRODUCTION TO UML Richard Hopkins NeSC Training Team Member
CIS224 Software Projects: Software Engineering and Research Methods
Actors and use cases Use-case diagram Brief notation Prioritization Fully dressed notation Requirements Functional requirements  Use-cases.
Use Case - Example University library system requirements
OOAD Using the UML - Use-Case Analysis, v 4.2 Copyright  Rational Software, all rights reserved 1/18 Use Case Analysis – continued Control Classes.
Use Case Diagram © copyright 2001 SNU OOPSLA Lab..
 Need to Gather requirements and other related information  Use case Modeling ◦ What the system will do for the users.
Documenting Requirements using Use Case Diagrams
Object Oriented Software Development Modelling information systems OOSAD Booklet Chapter 4 Lecture: Week 3 Brian Farrimond.
Software Engineering Lecture 9 Object-Oriented Design II.
Copyright ©2004 Cezary Z Janikow 1 Use Cases n Within Requirements discipline/workflow n Verbal descriptions of important functional (behavioral, transactional,
Introduction to Software Engineering Dr. Basem Alkazemi
InceptionPhase Mesekach Kaleem Ullah, Melody Parsa, Charmie Dela Cruz, Setareh Vali S C K M MeSeKaCh.
UML Sequence Diagrams Eileen Kraemer CSE 335 Michigan State University.
Use Case Modeling. Kendall & Kendall© 2005 Pearson Prentice Hall18-2 Commonly Used UML Diagrams The most commonly used UML diagrams are: – Use case diagram,
CS 501: Software Engineering Fall 2000 Lecture 12 Object-Oriented Design II.
03/12/2001 © Bennett, McRobb and Farmer Use Case Diagrams Based on Chapter 6 of Bennett, McRobb and Farmer: Object Oriented Systems Analysis and.
Introductory case study. 2 The problem The most difficult part of any design project is understanding the task you are attempting You have been contacted.
Mastering OOA/OOD with UML. Contents Introduction Requirements Overview OOAOOD.
Software Engineering Case Study Slide 1 Introductory case study.
Use Case Diagram : Library System
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.
CIS224 Software Projects: Software Engineering and Research Methods
Copyright © Craig Larman All Rights Reserved Requirements.
Use Cases Why use ‘em? How do they work? UC diagrams Using them later in the software development cycle.
Requirements Elicitation. Requirement: a feature or constraint that the system must satisfy Requirements Elicitation: specification of the system that.
RUP Requirements RUP Artifacts and Deliverables
CS 4310: Software Engineering Lecture 3 Requirements and Design.
Object-Oriented Analysis - Instructor Notes
® IBM Software Group © 2006 IBM Corporation Rational Software France Object-Oriented Analysis and Design with UML2 and Rational Software Modeler 06. Requirements.
SOFTWARE ENGINEERING BIT-8 APRIL, 16,2008 Introduction to UML.
1 Objectives  Describe design constraints.  Identify methods of specifying functional requirements.  Describe techniques for writing and structuring.
Introduction to Sequence Diagrams
CS 501: Software Engineering Fall 1999 Lecture 18 (a) Project Reports (b) Object-Oriented Design III.
1 Object orientation. 2 What benefits does OO give? Primarily –Encapsulation (Associates data & operations) –Types & specialisation –Software re-use.
Chapter 6 Use Cases. Use Cases: –Text stories Some “actor” using system to achieve a goal –Used to discover and record requirements –Serve as input to.
UML The Unified Modeling Language A Practical Introduction Al-Ayham Saleh Aleppo University
Requirements Specification for Lab3 COP4331 and EEL4884 OO Processes for Software Development © Dr. David A. Workman School of Computer Science University.
1 UML Basic Training. UML Basic training2 Agenda  Definitions: requirements, design  Basics of Unified Modeling Language 1.4  SysML.
Approaching a Problem Where do we start? How do we proceed?
 A software application is like a city  Modeling = Architecture  OOP = Civil Engineering  UML Classes = Blueprints of Buildings  UML is a common.
Requirements Capture. Four Steps of requirements capture List candidate requirements Understand system context Capture functional requirements Capture.
CS 4850: Senior Project Fall 2014 Object-Oriented Design.
® IBM Software Group © 2006 IBM Corporation Writing Good Use Cases Module 1: Introduction to Use-Case Modeling.
Yarmouk University Department of Computer Information Systems CIS 499 Yarmouk University Department of Computer Information Systems CIS 499 Yarmouk University.
1 Use Case Diagrams Use Case Actor Use case description Use case realization (Scenario) Use case relationships –Extends –Uses.
Touseef Tahir Lecturer CS COMSATS Institute of Information Technology, Lahore USE CASES BY.
Shanghai Jiao Tong University 上海交通大学软件工程中心 Object Oriented Analysis and Design Requirements Overview.
1 15 quality goals for requirements  Justified  Correct  Complete  Consistent  Unambiguous  Feasible  Abstract  Traceable  Delimited  Interfaced.
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.
1 On To Object Design Chapter 14 Applying UML and Patterns -Craig Larman.
Adv. Use cases Actor generalization – general and special actors Use case generalization – general and special use cases Include and extend relationships.
Systems Analysis and Design in a Changing World, 6th Edition 1 Chapter 5 INTRODUCTION TO SYSTEMS ANALYSIS AND DESIGN: AN AGILE, ITERATIVE APPROACH CHAPTER.
7. 2Object-Oriented Analysis and Design with the Unified Process Objectives  Detailed Object-Oriented Requirements Definitions  System Processes—A Use.
2/6/03C-1 © 2001 T. Horton CS 494 Object-Oriented Analysis & Design Requirements and Use Cases.
UML and WSDL for JISC e-Learning Projects UML Details Richard Hopkins NeSC Training Team Member
UML (Unified Modeling Language)
UML - Development Process 1 Software Development Process Using UML.
Team Skill 3 - Defining the System (Chapters of the requirements text ) Sriram Mohan 1.
1 Advanced DataBases Unified Modelling Language An Introduction and Use Case Lecture 2 Susan Curtis.
Systems Analysis and Design in a Changing World, 6th Edition
Creating Use Cases.
Start at 17th March 2012 end at 31th March 2012
CS 501: Software Engineering Fall 1999
Systems Analysis and Design in a Changing World, 6th Edition
CIS224 Software Projects: Software Engineering and Research Methods
Lecture 8 Object Concepts
Software Development Process Using UML Recap
CS 501: Software Engineering
Presentation transcript:

Kravansvarig för PUM-projekt Analysis role Kravansvarig för PUM-projekt

Ansvar för Glossary Use-cases Use-case model System-wide requirements Vision Kundkontakter Förhandlingspart och orakel in mot övriga gruppen Mycket kontakter med arkitekten, sedan testaren

Use-case diagram Actor: a user of the system in a particular role. Can be human or system. Borrow copy of book A BookBorrower presents a book. The system checks that the potential borrower is a member of the library, and that he/she doesn’t already have the maximum permitted book on loan. This maximum is 6 unless the member is a staff member, in which case it is 12. If both checks succeed, the system records that this library member has this copy of the book on loan. Otherwise it refuses the loan. BookBorrower Detail of use-case

Relations between use-cases Please, keep as simple as possible. Relations between use-cases Extend loan <<include>> Check for reservation Borrow copy of book BookBorrower <<include>> ”Reuse” <<extend>> Refuse loan Stereotype: extended classification of meaning ”Separating scenarious”

Identifying classes: noun analysis A BookBorrower presents a book. The system checks that the potential borrower is a member of the library, and that he/she doesn’t already have the maximum permitted book on loan. This maximum is six unless the member is a staff member, in which case it is 12. If both checks succeed, the system records that this library member has this copy of the book on loan. Otherwise it refuses the loan. book – real noun handled by the system system – meta-language borrower – already actor library member – handled by the system staff member – handled by the system checks – event copy of book – handled by the system

The single class model Book name title: String attribute copiesOnShelf() : Integer borrow(c:Copy) operations

The library class model Book 1 is a copy of 1..* borrows/returns LibraryMember Copy 0..1 0..* generalisation borrows/returns MemberOfStaff Journal 0..1 0..*

Where to go now? Continue with a traditional specification Writing a detailed use-case specification Continue modelling

Writing a detailed use-case specification Name Brief Description Flow of Events: Write the description so that the customer can understand it. The flows can include a basic flow, alternative flows, and sub flows. (Key scenarios) Special Requirements Preconditions Post-conditions Extension points

“Classical” use-case specification max 40 pages

Use-cases need System-wide requirements 1. Introduction 2. System-Wide Functional Requirements 3. System Qualities 3.1 Usability 3.2 Reliability 3.3 Performance 3.4 Supportability 4. System Interfaces 4.1 User Interfaces 4.1.1 Look & Feel 4.1.2 Layout and Navigation Requirements 4.1.3 Consistency 4.1.4 User Personalization & Customization Requirements 4.2 Interfaces to External Systems or Devices 4.2.1 Software Interfaces 4.2.2 Hardware Interfaces 4.2.3 Communications Interfaces 5. Business Rules 6. System Constraints 7. System Compliance 7.1 Licensing Requirements 7.2 Legal, Copyright, and Other Notices 7.3 Applicable Standards 8. System Documentation

Continue modelling :Sequence diagram theLibraryMember: LibraryMember theCopy: Copy theBook: Book aMember: BookBorrower A borrow(theCopy) 1: okToBorrow {borrowed’ – borrowed < 1s} 2: borrow {C-A < 5s} 2.1: borrowed C

Combining fragments of sequence diagrams SD processOrder :Order :TicketDB :Account create Get existing customer data ref loop loop [get next item] reserve(date,no) loop condition add(seats) answer destruction

More fragments of sequence diagrams :Order :TicketDB loop [get next item] reserve(date,no) guard condition nested conditional alt [available] add(seats) alternate branches [unavailable] reject

Continue modelling: next level Next level Use-case

State diagram For class Copy: start marker object message this object return()/book.returned(self) on loan on the shelf borrow()/book.borrowed(self) event, causing transition action, reaction to the event state

State diagram with guards Wiht OCL, Object Constraint Language, this becomes very powerful For class Book: returned() returned() not borrowable borrowable borrowed()[last copy] borrowed()[not last copy]

Deployment diagram hardware <<LAN>> august: Workstation lotta: PC <<LAN>> <<artifact>> <<artifact>> <<use>>