UML (Unified Modeling Language)

Slides:



Advertisements
Similar presentations
Use Case Modeling SJTU. Unified Modeling Language (UML) l Standardized notation for object-oriented development l Needs to be used with an analysis and.
Advertisements

Chapter 22 Object-Oriented Systems Analysis and Design and UML Systems Analysis and Design Kendall and Kendall Fifth Edition.
System Modelling System modelling helps the analyst to understand the functionality of the system and models are used to communicate with customers. Different.
CS3773 Software Engineering Lecture 03 UML Use Cases.
Use Case Diagram © copyright 2001 SNU OOPSLA Lab..
Object-Oriented Analysis and Design
Use-case Modeling.
L4-1-S1 UML Overview © M.E. Fayad SJSU -- CmpE Software Architectures Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I.
January Ron McFadyen1 Ch 9. Use-case model: drawing System Sequence Diagrams Elaboration Iteration 1: a simple cash-only success scenario of.
Documenting Requirements using Use Case Diagrams
C++ Training Datascope Lawrence D’Antonio Lecture 11 UML.
Use Case Modeling.
Unified Modeling Language 7/12/2015B.Ramamurthy1 The Unified Modeling Language™ (UML) was developed jointly by Grady Booch, Ivar Jacobson, and Jim Rumbaugh.
Use Case Diagram.
Use Case Modeling. Use case diagram For each use case we develop  Object class diagram (with attributes only)  System sequence diagram (analysis) 
Unified Modeling Language
® IBM Software Group © 2006 IBM Corporation Rational Software France Object-Oriented Analysis and Design with UML2 and Rational Software Modeler 06. Requirements.
Classification of UML Diagrams
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
Chapter 6 A Use-Case-Driven Process. 2 Definitions The choice of models and the choice of techniques used to express them have a significant impact on.
USE CASE Bayu Adhi Tama, MTI Faculty of Computer Science, University of Sriwijaya Slides are adapted from Petrus Mursanto
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.
Faculty of Computer & Information
Requirements as Usecases Capturing the REQUIREMENT ANALYSIS DESIGN IMPLEMENTATION TEST.
UML diagrams What is UML UML diagrams –Static modeoing –Dynamic modeling 1.
Unified Modeling Language* Keng Siau University of Nebraska-Lincoln *Adapted from “Software Architecture and the UML” by Grady Booch.
ניתוח מערכות מידע 1 Unified Modeling Language (UML) § § The Unified Modeling Language (UML) is the industry-standard language for: Specifying, Visualizing,
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.
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.
What is a Structural Model?
Business Analysis with For PG MDI, Gurgaon Kamna Malik, Ph.D.
CIS 112 Exam Review. Exam Content 100 questions valued at 1 point each 100 questions valued at 1 point each 100 points total 100 points total 10 each.
CSC480 Software Engineering Lecture 8-9 September 20, 2002.
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.
1 Technical & Business Writing (ENG-715) Muhammad Bilal Bashir UIIT, Rawalpindi.
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.
UML Review of Use case diagrams. 2 Unified Modeling Language The Unified Modeling Language™ (UML) was developed jointly by Grady Booch, Ivar Jacobson,
 What to do if you want to build a new house? › Buy a bunch of wood and nails and start immediately. › Or, put some blueprints to follow, and plan of.
Object Oriented Analysis and Design Introduction to Rational Rose.
Fall 2007 Week 9: UML Overview MSIS 670: Object-Oriented Software Engineering.
CSCI 383 Object-Oriented Programming & Design Lecture 7 Martin van Bommel.
Chapter 7 Part II Structuring System Process Requirements MIS 215 System Analysis and Design.
Object Oriented Programming and Data Abstraction Earl Huff Rowan University.
UML Fundamental Elements. Structural Elements Represent abstractions in our system. Elements that encapsulate the system's set of behaviors. Structural.
1 SYS366 Week 2 - Lecture 2 Visual Modeling & UML.
PowerPoint Presentation for Dennis, Wixom, & Tegarden Systems Analysis and Design with UML, 5th Edition Copyright © 2015 John Wiley & Sons, Inc. All rights.
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.
Chapter 3: Software Design –Use case Diagram Nouf Alghanmi.
Software Engineering USE CASE DIAGRAM.
Modified from Sommerville’s originalsSoftware Engineering, 7th edition. Chapter 14 Slide 1 Object-Oriented Design.
Systems Analysis and Design in a Changing World, Fourth Edition
UML Diagrams By Daniel Damaris Novarianto S..
Lec-5 : Use Case Diagrams
Object-Oriented Analysis and Design
Dynamic Modeling of Banking System Case Study - I
Unified Modeling Language
UML Diagrams Jung Woo.
Unified Modeling Language
Object Oriented Analysis and Design
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
Software Design Lecture : 15.
Use Case Model Use case diagram – Part 2.
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
Chapter 22 Object-Oriented Systems Analysis and Design and UML
Presentation transcript:

UML (Unified Modeling Language)

UML The static structure defines the kinds of the objects important to a system and to its implementation as well as relationship among the objects. The dynamic behaviour defines history of the objects over time and the communication among the objects to accomplish task.

UML – some notation Object classes are rectangles with the name at the top, attributes in the middle section (“compartment”) and operations in the next compartment. Relationships between object classes (known as associations) are shown as lines linking objects Inheritance is referred to as generalisation. It uses an open triangular arrow head

UML diagrams Class Diagram Structural View Behavioral View Object Diagram Behavioral View Sequence Diagram Collaboration Diagram State-chart Diagram Activity Diagram User’s View Use Case Diagram Implementation View Component Diagram Environmental View Deployment Diagram

The use-case view Use-case diagrams Sequence diagrams The use-case view helps you to understand and use the system. This view looks at how actors and use cases interact. The diagrams in this view are: Use-case diagrams Sequence diagrams Collaboration diagrams Activity diagrams

The use-case view This view contains a Main diagram by default. Additional diagrams can be added throughout the analysis and design process.

The logical view Class diagrams Statechart diagrams The logical view addresses the functional requirements of the system. This view looks at classes and their relationships. The diagrams in this view are: Class diagrams Statechart diagrams

The logical view This view contains a Main diagram by default. Additional diagrams can be added throughout the analysis and design process.

The component view The component view addresses the software organization of the system. This view contains information about the software, executable and library components for the system. This view contains only component diagrams.

The component view The component view contains a Main diagram by default. Additional diagrams can be added to this view throughout

The deployment view The deployment view shows the mapping of processes to hardware. This type of diagram is most useful in a distributed architecture environment where you might have applications and servers at different locations. This view contains only one diagram – the deployment diagram.

Use Case Diagrams Use case diagrams show the interaction of users of the system with the functionality of the system. A use case is a functional component of the system that accomplishes a specific task, and is represented by an ellipse. An actor, depicted as a stickman figure, is a user of the system performing a specific role.

Types of Actors in use case diagram: Primary Actors: People who use the main system functions. Secondary Actors People that perform administration or maintenance tasks. Other systems: The others systems with which the system must interact.

Use Case Diagrams Use case diagrams are used early in the development process to refine the functional specifications, identify user interface requirements, and to define the scope of the project.

Use-case diagrams Use-case diagrams present a high-level view of system usage as viewed from an outsider’s (actor’s) perspective. These diagrams show the functionality of a system or a class and how the system interacts with the outside world. Use-case diagrams can be used during analysis to capture the system requirements and to understand how the system should work.

Use-case diagrams During the design phase, use-case diagrams specify the behavior of the system as implemented. Rose automatically creates a Main use-case diagram in the use-case view. There are typically many use-case diagrams in a single model. Use case model represents the external view of system.

Types of Use-case 1.Including Use Cases: Use cases may contain the functionality of another use case as part of their normal processing. In general it is assumed that any included use case will be called every time the basic path is run. An example of this is to have the execution of the use case <Card Identification> to be run as part of a use case <Withdraw>.

1.Including Use Cases: Use Cases may be included by one or more Use Case, helping to reduce the level of duplication of functionality by factoring out common behavior into Use Cases that are re-used many times.

2. Extending Use Cases One use case may be used to extend the behavior of another; this is typically used in exceptional circumstances.

2. Extending Use Cases For example, if before modifying a particular type of customer order, a user must get approval from some higher authority, then the <Get Approval> use case may optionally extend the regular <Modify Order> use case.

Use-case Diagram

Example:

Extension , Specialization Of Use Cases When the user is expected to make the optional interactions or to handle an exceptional condition, then the base use case is more or less valid, but needs further extensions by way of addition or minor modifications to complete the actor’s request. We create a separate use case limited to the deviation sought in the original use case . Extension are to be designed for handling exceptional , one off request of the users.

Extension , Specialization Of Use Cases Example: In example of railway ticket booking , it is not expected that the passenger would change the ticket choice from ‘ Chair Car ‘ to ‘Sleeper Car’. But at the very last moment , if the choice is changed to Sleeper Car , the use of the extension use case will be different for ticket printing and related process only.

Extension , Specialization Of Use Cases When an analysis is made of scenario , we will; come across use case that need to be included in the system. In some cases, we will come across the situation where the use case scope is common to some extent that the preconditions and processes within the use case and post conditions are common across all users. But in the same use case, we need to handle a special scenario where most of the specifications are common to the special case as well.

Extension , Specialization Of Use Cases Ticketing Book Passenger Extension Specialization Ticket Booking with Concession Journey and Tariff Special conditions Extension with Concession in fare Passenger from Military Services

Use Case Diagram Example

Use Case Diagram Example Figure 1.9: Use Case diagram for an Automated Teller Machine (ATM) system

Use Case Diagram Example This Use Case diagram shows the interactions between the use cases and actors of an ATM system. In this example, the bank's customer initiates a number of use cases: Withdraw Money, Deposit Funds, Transfer Funds, Make Payment, View Balance, and Change PIN. A few of the relationships are worthy of further mention. The bank officer can also initiate the Change PIN use case. The Make Payment use case shows an arrow going to the credit system.

Use Case Diagram Example External systems may be actors and, in this case, the credit system is shown as an actor because it is external to the ATM system. The arrow going from a use case to an actor illustrates that the use case produces some information that an actor uses. In this case, the Make Payment use case provides credit card payment information to the credit system.

Benefits Of Use Case Ensures complete system documentation, as all use cases are included with model , design and details. Reduce the user’s need for training and hand-holding in learning to operate the system. Use system more efficiently. Reduce the time for system maintenance. Obtain user’s fast acceptance of the system.