Kyung Hee University System Functional Model OOSD 담당조교 석사과정 이정환.

Slides:



Advertisements
Similar presentations
155 CONCEPTUAL DESIGN: PURPOSE, ACTORS, FEATURES, AND UML USE CASES.
Advertisements

UML an overview.
Use Case & Use Case Diagram
Karolina Muszyńska Based on:
Chapters 7 & 9 System Scope
Object-Oriented Application Development Using VB.NET 1 Chapter 5 Object-Oriented Analysis and Design.
Object-oriented modeling Class/Object Diagrams
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.
Use Case Modeling SJTU. Unified Modeling Language (UML) l Standardized notation for object-oriented development l Needs to be used with an analysis and.
CS3773 Software Engineering Lecture 03 UML Use Cases.
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..
January Ron McFadyen1 Use Cases in the UML Functionality under consideration is represented by use cases (named ellipses) enclosed in a box.
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,
Unified Modeling Language
Chapter 7: The Object-Oriented Approach to Requirements
Karolina Muszyńska Based on: G. Schneider, J.P. Winters „Stosowanie przypadków użycia” S. Wrycza, B.
CMIS 470 Structured Systems Design
Database Design Using the REA Data Model
Chapter 7 Structuring System Process Requirements
Use Case Modeling. Watch the video on use cases Review at minute 2:41-3:37.
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.
UML Diagrams: Class Diagrams The Static Analysis Model Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Faculty of Computer & Information Software Engineering Third year
Requirements Analysis Visual Modeling] Lab 02 Visual Modeling (from Visual Modeling with Rational Rose and UML) A way of thinking about problems using.
Copyright 2002 Prentice-Hall, Inc. Chapter 2 Object-Oriented Analysis and Design Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey.
Requirements as Usecases Capturing the REQUIREMENT ANALYSIS DESIGN IMPLEMENTATION TEST.
UML Use Case Diagramming Guidelines. What is UML? The Unified Modeling Language (UML) is a standard language for specifying, visualizing, constructing,
The Static Analysis Model Class Diagrams Prof. Hany H. Ammar, CSEE, WVU, and Dept. of Computer Science, Faculty of Computers and Information, Cairo University.
1 Object-Oriented Modeling Using UML CS 3331 Section 2.4 Modeling Requirements with Use Cases.
Faculty of Applied Engineering and Urban Planning Software Engineering Department Software Engineering Lab Use Cases Faculty of Information system Technology.
UML Review of diagram types. 2 Unified Modeling Language The Unified Modeling Language™ (UML) was developed jointly by Grady Booch, Ivar Jacobson, and.
Copyright © 2013 Curt Hill UML Unified Modeling Language.
Systems Analysis and Design in a Changing World, 6th Edition
1 System Analysis and Design Using UML INSTRUCTOR: Jesmin Akhter Lecturer, IIT, JU.
Discovering object interaction. Use case realisation The USE CASE diagram presents an outside view of the system. The functionality of the use case is.
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 Model Use case diagram.
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.
SWE © Solomon Seifu Lesson 3 Fundamentals of OO & UML.
Logical view –show classes and objects Process view –models the executables Implementation view –Files, configuration and versions Deployment view –Physical.
Software Engineering Software Engineering - Mr. Ahmad Al-Ghoul.
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.
22 August, 2007Information System Design IT60105, Autumn 2007 Information System Design IT60105 Lecture 8 Use Case Diagrams.
Lecture 14 22/10/15. The Object-Oriented Analysis and Design  Process of progressively developing representation of a system component (or object) through.
Analysis Yaodong Bi. Introduction to Analysis Purposes of Analysis – Resolve issues related to interference, concurrency, and conflicts among use cases.
UML Review of Use case diagrams. 2 Unified Modeling Language The Unified Modeling Language™ (UML) was developed jointly by Grady Booch, Ivar Jacobson,
Object-Oriented Application Development Using VB.NET 1 Chapter 5 Object-Oriented Analysis and Design.
UML - Development Process 1 Software Development Process Using UML.
Chapter 6: Structuring Requirements: Use Case Description and Diagrams Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
McGraw-Hill/Irwin© 2008 The McGraw-Hill Companies, All Rights Reserved Chapter 17 Object-Oriented Design and Modeling Using the UML.
1 BTS330 Visual Modeling. What is Visual Modeling? 2 Copyright © 1997 by Rational Software Corporation Computer System Business Process Order Item Ship.
Kyung Hee University Class Diagramming Notation OOSD 담당조교 석사과정 이정환.
Kyung Hee University System Functional Model OOSD 담당조교 석사과정 이정환.
1 Kyung Hee University Interaction Diagrams Spring 2001.
Department of Mathematics Computer and Information Science1 CS 351: Database Management Systems Christopher I. G. Lanclos Chapter 4.
Chapter 3: Software Design –Use case Diagram Nouf Alghanmi.
Software Engineering USE CASE DIAGRAM.
UML Diagrams: Class Diagrams The Static Analysis Model
Lec-5 : Use Case Diagrams
M.M. Pickard, PhD A Primer on Use Cases (Reference: UML Superstructure Specification, v2.1.1)
Use case Diagram.
Use Case Model Use case diagram.
UML Use Case Diagrams.
OO Domain Modeling With UML Class Diagrams and CRC Cards
Start at 17th March 2012 end at 31th March 2012
Software Design Lecture : 15.
Visual Modeling Using Rational Rose
Presentation transcript:

Kyung Hee University System Functional Model OOSD 담당조교 석사과정 이정환

Kyung Hee University Basic Concept  The most part of software development system projects  Transforming a product description into a software implementation  Initial description of several forms or

Kyung Hee University Basic Concept (cont’d)  System requirements come in several varieties :  Functional requirement  Performance requirement  Minimum robustness of the system  While a system may have performance and robustness requirements, all systems have functional requirements

Kyung Hee University Basic Concept (cont’d)  UML provides two notational conventions for defining a system functional model  Use case diagram (static view)  Activity diagram (dynamic view)

Kyung Hee University A First Functional Model  Problem : creating a catalog ordering system  Customers can place orders for goods and perform various transactions, as follows:  A single order can be for multiple line items. (For example, with a single order a customers can purchase a sweater, a pair of boots, and an umbrella)

Kyung Hee University A First Functional Model (cont’d)  Customers can cancel both entire orders and individual items in orders. Canceling an order entails canceling all items in the order  An item can be canceled if it has not already if it has not already been shipped or previously canceled  Customers can also return items they do not want

Kyung Hee University A First Functional Model (cont’d)  A customer may have any number of orders pending at any time. The DryGoods.com system must generate a unique order number for each order. This number serves as a key the customer can use to identify the order  DryGoods.com maintains an inventory of goods. Order items are allocated from that inventory. When its inventory is exhausted, an item will be back-ordered from a supplier  Customer orders are funded from credit or debit cards. Hence, each order must include a credit or debit card number. DryGoods.com obtains funds from that card when the order is placed

Kyung Hee University A First Functional Model (cont’d)  DryGoods.com ships only complete orders. If one or more items in an order are currently unavailable, the shipment of the other parts of the order will be a delayed until those items become available  The order processing system must also interact with legacy software. DryGoods.com has a product warehouse legacy system that handles inventory management (including ordering goods form suppliers). It also has legacy shipping system that handles shipping (including tracking the progress of the shipment)

Kyung Hee University A First Functional Model (cont’d)  The functional model should provide at least three pieces of information by answering the following questions  What functions does the system offer?  What external agents interact with the system?  In what functions are those external agents involved?

Kyung Hee University A First Functional Model (cont’d)  Actors in the Business View  An actor in UML is anything outside the boundary of the system that interacts with the system in some way. Actors come in many forms. Including  A role played by a human user, such as a customer or sales manager  An external system, legacy system, client application, or component  An external device, such a light sensor or a fault monitor  Modeling actors enables you to see exactly what interacts with the system and how

Kyung Hee University A First Functional Model (cont’d)  Use Cases in the Business View  To model system functions, UML offers the use case. Jacobson adopted this term because a use case describes how an actor uses the system  What interactions with the system does the actor initiate?  What interactions with the actor does the system initiate?

Kyung Hee University A First Functional Model (cont’d)  In the business functional model for DryGoods.com, a Catalog Customer participates in at least five functions and initiates all five:  The placing of an order  The canceling of an order  The canceling of an order item  The returning of an order item  Various queries about orders

Kyung Hee University A First Functional Model (cont’d)  The following are textual specifications of the four use cases :  Place order : the customer places an order for one or more catalog items. The order is entered in the system after it is funded (for example, by a credit card). Each order item is allocated from available inventory, or form back-ordered inventory if no available inventory exists  Cancel order : the customer asks that an order be canceled. Each item in the order that has not already been shipped is canceled and returned and returned to available inventory

Kyung Hee University A First Functional Model (cont’d)  Cancel order item : the customer asks that an individual item in an order be canceled. The item may be canceled only of it has not been shipped; in which case, the item is returned to inventory  Return order item : the customer returns an item that was shipped. The item must be returned to inventory, and the customer must be credited for the return

Kyung Hee University A First Functional Model (cont’d)  A Use Case Diagram of the Business View  System : the system is depicted as a rectangle (possibly with the name of the system inside)  Actor : each actor is shown as a stick figure  Use case : each use case is shown as a solid-bordered oval labeled with the name of use case

Kyung Hee University A First Functional Model (cont’d)

Kyung Hee University A First Functional Model (cont’d)  Use Case Relationships  Use case diagrams can include relationships between actors and use cases  Use case diagram is a static model of functionality. The relationships in it, including relationships between use cases, are static relationships

Kyung Hee University A First Functional Model (cont’d)  The uses relationship  The Figure of Page 16 are related  When a catalog customer cancels an order, the order items in that order will also be canceled. In order words, the behavior of cancel order always includes the behavior of cancel order item  This relationship is modeled in UML as a uses relationship between the two use case. The UML Notation Guide describes this relationship as follows :  A use relation from use case A to use case B indicates that an instance of the use case A will also include the behavior as specified by [use case] B (78)

Kyung Hee University A First Functional Model (cont’d)

Kyung Hee University A First Functional Model (cont’d)

Kyung Hee University A First Functional Model (cont’d)  The Extends Relationship  A uses relationship describes the situation in which one use case always includes the behavior of another. What if one use case conditionally includes the behavior of another ?

Kyung Hee University A First Functional Model (cont’d)  Suppose, for example, that an Add Customer use case describes adding a new customer to the DryGoods.com customer database. This use case would be invoked when a Catalog Customer makes his or her initial order. In other words, sometimes while placing an order, the customer is added. This occurrence is based on an internal system condition in the Place Order use case – whether there is already a record of the customer or not

Kyung Hee University A First Functional Model (cont’d)  UML defines this concept as an extends relationship between use case. The UML Notation Guide states :  An extends relationship from use case A to use case B indicates that an instance of use case B may include (subject to specific conditions specified in the extension) the behavior specified by [use case] A (78)

Kyung Hee University A First Functional Model (cont’d)

Kyung Hee University A First Functional Model (cont’d)  Uses Versus Extends

Kyung Hee University A First Functional Model (cont’d)  A uses B means that A always invokes B, whereas B extends A means that A sometimes invokes B

Kyung Hee University A First Functional Model (cont’d)  An alternative way to think of these two relationships is as inheritance (subsumption) of behavior. (Each relationship is a stereotype of the specialization, or inheritance, relationship between classes)