Unified Modeling Language

Slides:



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

Use Case Modeling SJTU. Unified Modeling Language (UML) l Standardized notation for object-oriented development l Needs to be used with an analysis and.
A Brief Introduction. Acknowledgements  The material in this tutorial is based in part on: Concurrency: State Models & Java Programming, by Jeff Magee.
CS3773 Software Engineering Lecture 03 UML Use Cases.
Use Case Diagram © copyright 2001 SNU OOPSLA Lab..
Object-Oriented Analysis and Design
Systems Analysis and Design in a Changing World, Fourth Edition
L4-1-S1 UML Overview © M.E. Fayad SJSU -- CmpE Software Architectures Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I.
The Unified Software Development Process - Workflows Ivar Jacobson, Grady Booch, James Rumbaugh Addison Wesley, 1999.
Lecture 11: Chapter 22 Topics –Object Oriented Modeling –UML –Use case.
© 2005 Prentice Hall4-1 Stumpf and Teague Object-Oriented Systems Analysis and Design with UML.
© Copyright Eliyahu Brutman Programming Techniques Course.
Unified Modeling Language 7/12/2015B.Ramamurthy1 The Unified Modeling Language™ (UML) was developed jointly by Grady Booch, Ivar Jacobson, and Jim Rumbaugh.
Chapter 7: The Object-Oriented Approach to Requirements
UML Unified Markup Language Ziya Karakaya Atılım University, Computer Engineering
CIT UPES | Sept 2013 | Unified Modeling Language - UML.
Introduction to the Unified Modeling Language “The act of drawing a diagram does not constitute analysis or design. … Still, having a well-defined and.
Unified Modeling Language, Version 2.0
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.
1 Devon M. Simmonds University of North Carolina, Wilmington CSC450 Software Engineering WorkFlow Modeling with Activity Diagrams.
Unified Modeling Language* Keng Siau University of Nebraska-Lincoln *Adapted from “Software Architecture and the UML” by Grady Booch.
UML Use Case Diagramming Guidelines. What is UML? The Unified Modeling Language (UML) is a standard language for specifying, visualizing, constructing,
L6-S1 UML Overview 2003 SJSU -- CmpE Advanced Object-Oriented Analysis & Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College.
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.
Use Cases, Part I Understanding the Business Dynamics  Understand the business workflow  Identify system support points the system 'use cases'
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.
Business Analysis with For PG MDI, Gurgaon Kamna Malik, Ph.D.
UML as a Specification Language for Embedded Systems. By, Mir Ahmed Ali, Asst. Professor, ECM department, SNIST. By, Prof. Narsiah sir, Director of School.
Unified Modeling Language. Object Oriented Methods ► What are object-oriented (OO) methods?  OO methods provide a set of techniques for analyzing, decomposing,
Introduction to UML CS A470. What is UML? Unified Modeling Language –OMG Standard, Object Management Group –Based on work from Booch, Rumbaugh, Jacobson.
©2007 · Georges Merx and Ronald J. NormanSlide 1 Chapter 15 The Unified Modeling Language: a Primer.
Systems Analysis and Design in a Changing World, Fourth Edition
Week 04 Object Oriented Analysis and Designing. What is a model? A model is quicker and easier to build A model can be used in simulations, to learn more.
MADALINA CROITORU Software Engineering week 4 Practical Madalina Croitoru IUT Montpellier.
UML (Unified Modeling Language)
Generalizable Element Namespace Model Element name visibility isSpecification Classifier isRoot Constraint Body Coming up: Unified Modeling Language Introduction.
UML Review of Use case diagrams. 2 Unified Modeling Language The Unified Modeling Language™ (UML) was developed jointly by Grady Booch, Ivar Jacobson,
Gerhard Dueck -- CS3013Analysis 1. Gerhard Dueck -- CS3013Analysis 2 Why analysis?  Yield a more precise specification of the requirements.  Introduce.
7 Systems Analysis – ITEC 3155 The Object Oriented Approach – Use Cases.
CS 501: Software Engineering Fall 1999 Lecture 15 Object-Oriented Design I.
UML. Model An abstract representation of a system. Types of model 1.Use case model 2.Domain model 3.Analysis object model 4.Implementation model 5.Test.
Modified from Sommerville’s originalsSoftware Engineering, 7th edition. Chapter 14 Slide 1 Object-Oriented Design.
1 An Overview of UML. 2 The Unified Modeling Language UML is a graphical language used by software engineers to model software systems during development.
Slide 1 Unified Modeling Language, Version 2.0 Object-Oriented SAD.
CompSci 280 S Introduction to Software Development
Introduction to UML.
Systems Analysis and Design in a Changing World, Fourth Edition
UML Diagrams By Daniel Damaris Novarianto S..
UNIT 1.
Evolution of UML.
Introduction to the Unified Modeling Language
Systems Analysis and Design With UML 2
Unified Modeling Language
Introduction to Unified Modeling Language (UML)
Use Case Model Use case diagram.
Week 10: Object Modeling (1)Use Case Model
Online Shopping APP.
Unified Modeling Language
SAD ::: Spring 2018 Sabbir Muhammad Saleh
Introduction to UML.
Introduction to the Unified Modeling Language
Use Cases CS/SWE 421 Introduction to Software Engineering Dan Fleck
Introduction to the Unified Modeling Language
Real-time (OO) Systems Design Using UML
Using Use Case Diagrams
Enterprise Computing: An Overview
Software Design Methodologies and Testing
Presentation transcript:

Unified Modeling Language The Unified Modeling Language™ (UML) was developed jointly by Grady Booch, Ivar Jacobson, and Jim Rumbaugh with contributions from other leading methodologists, software vendors, and many users. The UML provides the application modeling language for: Process modeling/ Requirement Analysis with Use-cases. Static Design with Class and object modeling. Dynamic Design with sequence, collaboration and activity diagrams. Realtime Systems design models Distribution and deployment modeling. See http://www.cetus-links.org/oo_uml.html 1/14/2019 B.Ramamurthy

Phases of System Development Requirement Analysis The functionality users require from the system Use-case model OO Analysis Discovering classes and relationships Class diagram OO Design Result of Analysis expanded into technical solution Sequence diagram, state diagram, etc. Results in detailed specs for the coding phase Implementation (Programming/coding) Models are converted into code Testing Unit tests, integration tests, system tests and acceptance tests. 1/14/2019 B.Ramamurthy

Use-Case Modeling In use-case modeling, the system is looked upon as a black box whose boundaries are defined by its functionality to external stimuli. The actual description of the use-case is usually given in plain text. A popular notation promoted by UML is the stick figure notation. We will look into the details of text representation later. Both visual and text representation are needed for a complete view. A use-case model represents the use-case view of the system. A use-case view of a system may consist of many Use-case diagrams. An use-case diagram shows (the system), the actors, the use-cases and the relationship among them. 1/14/2019 B.Ramamurthy

Components of Use-case Model The components of a Use-case model are: System Modeled Actors Use-cases Stimulus System Name name Use-case 1/14/2019 B.Ramamurthy

System As a part of the use-case modeling, the boundaries of the system are developed. System in the use-case diagram is a box with the name appearing on the top. Define the scope of the system that you are going to design with your Android App/ Scribbler Robot. (software scope) MyRo Software Appln. 1/14/2019 B.Ramamurthy

Actors An actor is something or someone that interacts with the system. Actor communicates with the system by sending and receiving messages. An actor provides the stimulus to activate an Use-case. Message sent by an actor may result in more messages to actors and to Use-cases. Actors can be ranked: primary and secondary; passive and active. Actor is a role not an individual instance. 1/14/2019 B.Ramamurthy

Finding Actors The actors of a system can be identified by answering a number of questions: Who will use the functionality of the system? Who will maintain the system? What devices does the system need to handle? What other system does this system need to interact? Who or what has interest in the results of this system? 1/14/2019 B.Ramamurthy

Use-cases A Use-case in UML is defined as a set of sequences of actions a system performs that yield an observable result of value to a particular actor. Actions can involve communicating with number of actors as well as performing calculations and work inside the system. A Use-case is always initiated by an actor. provides a value to an actor. must always be connected to at least one actor. must be a complete description. 1/14/2019 B.Ramamurthy

Finding Use-cases For each actor ask these questions: Which functions does the actor require from the system? What does the actor need to do? Could the actor’s work be simplified or made efficient by new functions in the system? What events are needed in the system? What are the problems with the existing systems? What are the inputs and outputs of the system? 1/14/2019 B.Ramamurthy

Describing Use-cases Use-case Name: Use-case Number: system#.diagram#.Use-case# Authors: Event(Stimulus): Actors: Overview: brief statement Related Use-cases: Typical Process description: Algorithm Exceptions and how to handle exceptions: 1/14/2019 B.Ramamurthy

Example Number: A.132.4 Name: Buy book online Author: B.Ramamurthy Event: Customer request one or more books System: Amazon.com Overview: Captures the process of purchasing one or more books and the transactions associated with it. Related Use-case: A.132.5, A.132.8 Typical Process Description with exceptions handled. NOTE : All these can be in a tabular form, say, in an Excel worksheet for example. 1/14/2019 B.Ramamurthy

Realizing Use-cases Validation is done up front. As soon as the model is ready it has to be presented and discussed with the customers. Use-cases are implementation independent descriptions of the functionality of the system. Use-case can be realized in the next stages of software development using, say, a class diagram. 1/14/2019 B.Ramamurthy

Interaction between user and Use-case Insert coins Count coins Show/see drinks Show drink N/A Choose drink Deliver/pickup drink 1/14/2019 B.Ramamurthy

Use Case Diagram Insert coins <<uses>> Count coins Show/see drinks <<uses> Show drink N/A Choose drink Deliver/pickup drink 1/14/2019 B.Ramamurthy

Case Studies Ticket counter for basketball game TIVO: Video recorder/controller Weather Station. ATM Machine: Description given as data dictionary. 4-cycle lawnmower engine Burger queen fast food restaurant’s hand-held order device 1/14/2019 B.Ramamurthy

Use Case Example: Counseling 1/14/2019 B.Ramamurthy

Example Carry out a use-case analysis of the operations performed by a parking ticket vending machine. Consider end-user (motorist), maintenance technician, auditor, and coin (money) collector. 1/14/2019 B.Ramamurthy

Summary : Use case model We studied the Use-case Model of Unified Modeling Language. Use-case model provides a formal mechanism for carrying out a requirement analysis with active participation from domain experts and users who may or may not be software savvy. Use-case model can be used not only for requirement analysis of software systems, hardware systems and hybrid (combination) systems. Given a system, can you draw a use case diagram model to start the design process. 1/14/2019 B.Ramamurthy