1 SEQUENCE DIAGRAM EXAMPLE Part of the information kept in the RentalCopy class in the domain model shown below is the rental status of a video. Construct.

Slides:



Advertisements
Similar presentations
University Car Rental Project Vision Consulting Donna, Lap, Lisa & Tom
Advertisements

CUONG NGUYEN PRIYA PAKHANAVAR RUSSELL ROBINSON RPC Hotels.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Slide 1 Use Case Diagram Corrected to match newer conventions.
Karolina Muszyńska Based on:
Use Case Modeling.
Use Case - Example University library system requirements
Review Questions The four symbols on a data flow diagram are: Rounded rectangles (processes) Squares (external agents) Open-ended boxes (data stores) Arrows.
Jan 16, Ron McFadyen1 Ch 9. Use-case model: drawing System Sequence Diagrams Iteration 1: a simple cash-only success scenario of Process Sale.
C++ Programming: Program Design Including Data Structures, Third Edition Chapter 17: Linked Lists.
Data modelling uses two main techniques Entity relationship (E-R) modelling: a top- down approach Normalisation: a bottom-up approach.
Asper School of Business University of Manitoba Systems Analysis & Design Instructor: Bob Travica System sequence diagram Updated: 2014.
Object-Oriented Development Process Part I: Requirement Gathering Warsun Najib Department of Electrical Engineering Gadjah Mada University.
Lecture Note 8 Using Data Flow Diagrams
Use Case Diagram : Library System
The basketball team is ordering T-shirts to sell for a fund-raiser. The team paid $275 for the shirts and will sell them for $12 each. The relationship.
Hall, Accounting Information Systems, 7e ©2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly.
Stock Market Game. In your current events teams you buy and sell stock on either the NASDAQ or NYSE. Only these exchanges can be used, so if the stock.
Advanced Entity Relationship Concepts. Advanced Concepts UIDs Intersection Entities Recursive Relationships Roles Subtypes Exclusivity Historical Fan.
Data Modeling with ER Diagrams What is an Entity-Relationship Model? How is an E-R model represented as an E-R diagram? How can a video store be modeled.
Database Design Sections 4 & 5 Subtype, Supertype, Mutually exclusive, non-transferability, transferable, 1:1, 1:M, M:M, Redundant, Intersection entity,
State Diagrams / System Sequence Diagrams (SSDs)
REQUIREMENTS CAPTURE 1 USE-CASE MODELING EXAMPLE A video sales and rental shop would like to computerize its management of sales and rental of its.
Irwin/McGraw-Hill Copyright © 2000 The McGraw-Hill Companies. All Rights reserved Whitten Bentley DittmanSYSTEMS ANALYSIS AND DESIGN METHODS5th Edition.
Copyright © 2003 Addison-Wesley Jesper Rosholm Tørresø.
Practice of ER modeling
Conceptual Design Lecture - 2 Database Development.
REQUIREMENTS CAPTURE 1/67 SYSTEM REQUIREMENTS CAPTURE SOFTWARE ENGINEERING SOFTWARE ENGINEERING.
Intro to UML - OO Class Diagrams Week 5 CMIS570. Plan for Tonight Object terms Unified Modeling Language history Class Diagrams Intro to Oracle Oracle.
1 CMPT 275 Phase: Design. Janice Regan, Map of design phase DESIGN HIGH LEVEL DESIGN Modularization User Interface Module Interfaces Data Persistance.
© 2006 Prentice Hall Business Publishing Accounting Information Systems, 10/e Romney/Steinbart1 of 96 C HAPTER 17 Special Topics in REA Modeling for the.
Object-Oriented Sequence Diagrams
Systems Analysis and Design in a Changing World, Fifth Edition
An Introduction to Java Chapter 11 Object-Oriented Application Development: Part I.
1 Object-Oriented Analysis Use Case Driven. 2 The outline method for OOA 1.Identify object classes within the problem domain 2.Define the behaviour of.
REQUIREMENTS CAPTURE 1 DOMAIN MODELING EXAMPLE A video sales and rental shop would like to computerize its management of sales and rental of its.
Session 21 Applying the Basic Statechart to the Case Study Written by Thomas A. Pender Published by Wiley Publishing, Inc. October 27, 2011 Presented by.
Data Structures Using Java1 Chapter 4 Linked Lists.
7 Systems Analysis and Design in a Changing World, Fifth Edition.
REQUIREMENTS CAPTURE 1 SYSTEM REQUIREMENTS CAPTURE SOFTWARE ENGINEERING SOFTWARE ENGINEERING.
1 ICOM 5016 – Introduction to Database System Project # 1 Dr. Manuel Rodriguez-Martinez Department of Electrical and Computer Engineering University of.
REQUIREMENTS CAPTURE 1 DOMAIN MODELING EXAMPLE A video sales and rental shop would like to computerize its management of sales and rental of its.
REQUIREMENTS CAPTURE 1 USE-CASE MODELING EXAMPLE A video sales and rental shop would like to computerize its management of sales and rental of its.
EXAMPLE 5 Solve a multi-step problem Write an equation that represents the store’s monthly revenue. Solve the revenue equation for the variable representing.
Systems Analysis and Design in a Changing World, 6th Edition 1 Chapter 5 INTRODUCTION TO SYSTEMS ANALYSIS AND DESIGN: AN AGILE, ITERATIVE APPROACH CHAPTER.
BlockWood Video 1. Handle rentals and purchases 2. Save all transactions to the database 3. Manage accounts and members 4. Refund items 5. Provide premium.
Copyright Ó Oracle Corporation, All rights reserved. Assign Unique Identifiers A Unique Identifier (UID) is any combination of attributes and/or.
1 SEQUENCE DIAGRAM EXAMPLE The domain model, showing the navigability of the associations, and the Reserve video (staff scenario) use-case description.
Events to Data Flows to Data Dictionaries System Analysis & Design.
C++ Programming: Program Design Including Data Structures, Fourth Edition Chapter 17: Linked Lists (part 3)
CUSTOMER ORDERING QUICK REFERENCE GUIDE November 9, 2015.
 Activity diagram is basically a flow chart to represent the flow from one activity to another activity.
EXAMPLE 5 Solve a multi-step problem Write an equation that represents the store’s monthly revenue. Solve the revenue equation for the variable representing.
1 Equipment Search. 2 Equipment Inquiry There are multiple ways to search the equipment rental file. Searches can be done on: Serialized Equipment And/Or.
Unit 1 Financial Accounting Chapter 2 of Textbook
1 M206 Chapter 31: An Overview of Software Development 1.Defining the problem 2.Analyzing the requirement – constructing initial structural model 3.Analyzing.
Data Base Design Steps 1.Define Entity Classes (Relations/Tables) and Keys. 2.Define Relationships between Entity Classes. Normalization Steps Eliminate.
Design Skills Example.
Secrets of the Process Modeler
Start at 17th March 2012 end at 31th March 2012
REQUIREMENTS ANALYSIS
Unit 10 Recording Financial Transactions
REQUIREMENTS ANALYSIS
REQUIREMENTS ANALYSIS
This presentation document has been prepared by Vault Intelligence Limited (“Vault") and is intended for off line demonstration, presentation and educational.
This presentation document has been prepared by Vault Intelligence Limited (“Vault") and is intended for off line demonstration, presentation and educational.
State Machine Diagram.
State-Transition Diagrams
DFD Process & Examples.
Presentation transcript:

1 SEQUENCE DIAGRAM EXAMPLE Part of the information kept in the RentalCopy class in the domain model shown below is the rental status of a video. Construct a state machine diagram showing the states that an instance of the RentalCopy class can be in with respect to its rental status. Show only the states, transitions and the events and/or conditions, if any, that cause a transition to be taken. Do not show the activities that can occur within a state. Has 0..* RentalHistoryIsFor 1* Provides Reserves 1 * * * 1 * * Buys quantity ReviewCustomer Member RentalCopyMovieVideo CurrentRental * 1

2 STATE MACHINE DIAGRAM EXAMPLE The problem statement requirements that are relevant to determining the states of a RentalCopy object: – The system must be able to keep track of which movie videos have been bought/rented and by whom. For videos bought, the system must record the quantity bought; for videos rented, the system must record which copy of the video has been rented and when it is due back. – The system must keep track of overdue rental videos and allow notices to be sent to customers who have videos overdue. – Members should be able to make reservations for movie video rentals either in person at the store, by telephone or via the Web. – A member can reserve at most five movie videos at any one time, but there is no limit on how many movie videos a member or nonmember can rent at any one time. – Staff must be able to sell/rent videos from the stores inventory and return rented videos to the store's inventory.

3 STATE MACHINE DIAGRAM EXAMPLE:ANALYSIS – The system must be able to keep track of which movie videos have been bought/rented and by whom. For videos bought, the system must record the quantity bought; for videos rented, the system must record which copy of the video has been rented and when it is due back. states: Available; Rented events: rent transitions: Available  rent  Rented – The system must keep track of overdue rental videos and allow notices to be sent to customers who have videos overdue. states: Overdue events: when(date>returnDate) transitions: Rented  when(date>returnDate)  Overdue – Members should be able to make reservations for movie video rentals either in person at the store, by telephone or via the Web. states: Reserved events: reserve transitions: Available  reserve  Reserved Reserved  rent  Rented

4 STATE MACHIINE DIIAGRAM EXAMPLE:ANALYSIS – A member can reserve at most five movie videos at any one time, but there is no limit on how many movie videos a member or nonmember can rent at any one time. No state, event or transition information in this statement. – Staff must be able to sell/rent videos from the stores inventory and return rented videos to the store's inventory. event: return transitions: Rented  return  Available Overdue  return  Available Other reasonable events and transitions events: cancel, delete transitions: Reserved  cancel  Available Available  delete  Final state

5 STATE MACHIINE DIIAGRAM EXAMPLE:SOLUTION

6 We can also create a composite state Unavailable.

7 STATE MACHINE DIAGRAM :COMMON ERRORS Showing flow of control. (A state machine is not a flow chart!) see Activity Diagrams. Showing states/transitions/events not applicable to the object under consideration. e.g., reservedCopy < 5  applies to Member objects,not RentalCopy objects Mixing up states and events. e.g., return is not a state Having transitions with no events. Having transitions with several events.

8 STATE MACHINE DIAGRAM :COMMON ERRORS Using attributes not in the object. e.g., #copies Having states with no outgoing transition. e.g., Overdue, Reserved Using states not in the problem description. e.g., stolen, sold, lost