1 Using Rational Rose ® to construct UML diagrams.

Slides:



Advertisements
Similar presentations
Visio 2007 for UML Tutorial. Overview The tutorial demonstrates how to use Visio 2007 to create UML diagrams. We will focus on five most widely used UML.
Advertisements

Unified Modeling Language
Object-Oriented Analysis and Design
Chapter 15: System Modeling with UML
Uml and Use Cases CS 414, Software Engineering I Mark Ardis Rose-Hulman Institute January 9, 2003.
Rational Rose Basics Visual Modeling Textbook – Chapter 3
1 UML Component and Deployment Diagrams. Models, Views, and Diagrams Use Case Diagrams Use Case Diagrams Use Case Diagrams Scenario Diagrams Scenario.
Systems Analysis & Design Sixth Edition Systems Analysis & Design Sixth Edition Toolkit Part 5.
© Copyright Eliyahu Brutman Programming Techniques Course.
Lecture a: Additional UML Models: Package, Activity, Deployment Lecture b: Generalization, Aggregation and Additional Domain Model Notation Copyright W.
An Introduction to Rational Rose Real-Time
Unified Modeling Language
UML Sequence Diagrams Michael L. Collard, Ph.D. Department of Computer Science Kent State University.
Chapter 7: The Object-Oriented Approach to Requirements
UML Unified Markup Language Ziya Karakaya Atılım University, Computer Engineering
Class, Sequence and UML Model.  Has actors and use cases.
SOFTWARE ENGINEERING BIT-8 APRIL, 16,2008 Introduction to UML.
PowerDesigner 与对象建模. 2 Why Using UML? Visually define and communicate the structure and behavior of an application Represent systems using Object-Oriented.
Interaction diagrams Sequence and collaboration diagrams.
Prepared by Afra`a Sayah. Introduction. Weekly Tasks. Plane Phase. Analysis Phase. Design Phase. Report Rules. Conclusion. 2.
Prepared by: Sanaz Helmi Hoda Akbari Zahra Ahmadi Sharif University of Tech. Summer 2006 An Introduction to.
Unified Modeling Language, Version 2.0
Lecture 3: Visual Modeling & UML 1. 2 Copyright © 1997 by Rational Software Corporation Computer System Business Process Order Item Ship via “ Modeling.
Requirements Analysis Visual Modeling] Lab 02 Visual Modeling (from Visual Modeling with Rational Rose and UML) A way of thinking about problems using.
Sommerville 2004,Mejia-Alvarez 2009Software Engineering, 7th edition. Chapter 8 Slide 1 System models.
Programming Logic and Design Fourth Edition, Comprehensive Chapter 15 System Modeling with the UML.
Actors and Use Case Diagrams Month Day, Year. Agenda Training Plan Overview Review Detailing Requirements with Requisite Pro Concepts Setting Up XDE Integration.
Software Engineering Prof. Ing. Ivo Vondrak, CSc. Dept. of Computer Science Technical University of Ostrava
UML diagrams What is UML UML diagrams –Static modeoing –Dynamic modeling 1.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 14 Slide 1 Object-oriented Design.
ניתוח מערכות מידע 1 Unified Modeling Language (UML) § § The Unified Modeling Language (UML) is the industry-standard language for: Specifying, Visualizing,
ARTIFACT UML Actor A Use Case 1 Use Case 2 Actor B Document FileManager GraphicFile File Repository DocumentList FileList Customer name addr withdraw()
Chapter 7 The Object-Oriented Approach to Requirements.
Sequence Diagrams And Collaboration Diagrams HungNM.
UML as a Specification Language for Embedded Systems. By, Mir Ahmed Ali, Asst. Professor, ECM department, SNIST. By, Prof. Narsiah sir, Director of School.
SWT - Diagrammatics Lecture 4/4 - Diagramming in OO Software Development - partB 4-May-2000.
1/26 On-demand Learning Series Software Engineering of Web Application - Object-Oriented Development & UML Hunan University, Software School.
Logical view –show classes and objects Process view –models the executables Implementation view –Files, configuration and versions Deployment view –Physical.
CS451 - Lecture 4 1 CS451 Lecture 4: UML and Rose Yugi Lee STB #555 (816) * Acknowledgement: This lecture.
UML Diagrams CSC 422 Kutztown University Dr. Daniel Spiegel.
Introduction to UML CS A470. What is UML? Unified Modeling Language –OMG Standard, Object Management Group –Based on work from Booch, Rumbaugh, Jacobson.
CIM LAB MEETING Presentation on UML Rakesh Mopidevi Kwangyeol Ryu.
Lecture 9-1 : Intro. to UML (Unified Modeling Language)
1 Technical & Business Writing (ENG-715) Muhammad Bilal Bashir UIIT, Rawalpindi.
UML Review of Use case diagrams. 2 Unified Modeling Language The Unified Modeling Language™ (UML) was developed jointly by Grady Booch, Ivar Jacobson,
UML Course Instructor: Rizwana Noor. Overview  Modeling  What is UML?  Why UML?  UML Diagrams  Use Case  Components  Relationships  Notations.
® IBM Software Group © 2007 IBM Corporation Module 3: Creating UML Diagrams Essentials of Modeling with IBM Rational Software Architect, V7.5.
Object Oriented Analysis and Design Introduction to Rational Rose.
Rational Rose For System Design What is Rational Rose? Rational Rose is the visual modeling software solution that lets you create, analyze, design,
1 BTS330 Visual Modeling. What is Visual Modeling? 2 Copyright © 1997 by Rational Software Corporation Computer System Business Process Order Item Ship.
Technical Module C Object Modeling Objects Object – a valuable resource: Money (Account Receivable) Material (Product) Machines (Delivery Truck) Personnel.
Diagrams. Typically, we view the static parts of a system using one of the four following diagrams. 1. Class diagram 2. Object diagram 3. Component diagram.
Introduction to UML and Rational Rose UML - Unified Modeling Language Rational Rose 98 - a GUI tool to systematically develop software through the following.
Modified from Sommerville’s originalsSoftware Engineering, 7th edition. Chapter 14 Slide 1 Object-Oriented Design.
Introduction to Rational Rose 2000 v6.5 Copyright © 1999 Rational Software, all rights reserved 1 Introduction to Rational Rose 2000 Create Use Case Model.
Slide 1 Unified Modeling Language, Version 2.0 Object-Oriented SAD.
Use Cases UML. Use Cases What are Use Cases?  A statement of the functionality users expect and need, organized by functional units  Different from.
Rational ROSE An introduction.
UML Diagrams By Daniel Damaris Novarianto S..
Object-Oriented Analysis and Design
Unified Modeling Language
Introduction to Unified Modeling Language (UML)
UML Diagrams Jung Woo.
Online Shopping APP.
UML dynamic Modeling (Behavior Diagram)
Dynamic Modeling: Defining Classes
Unified Modeling Language
Analysis models and design models
Sylnovie Merchant, Ph.D. MIS 161 Spring 2005
Uml diagrams In ooad.
Presentation transcript:

1 Using Rational Rose ® to construct UML diagrams

2 User and System requirements User requirements state the functional and non- functional requirements so they are understandable by system users without detailed technical knowledge. Hence they are usually written in natural languages. But more detailed system requirements may be expressed in a more technical way. One widely used technique is to document the system specification as a set of system models. So that ’ s the reason why we use UML.

3 What you should submit In fact, there are various diagrams in UML. Business Use Case diagram Use Case diagram (You must hand in) Activity diagram Sequence diagram (You must hand in) Collaboration diagram Class diagram (You must hand in) Statechart diagram (for important classes) Component diagram (maybe not in this stage) Deployment diagram (maybe not in this stage) Construct them all? It ’ s nice to construct them all, but you don ’ t have enough time … really!

4 What you should submit At the end of “ System requirement stage ”, your “ Rose Model file ” (.mdl) should contains at least the following diagram: 1. Use case diagram: Use Case diagrams show the interactions between use cases and actors. Use cases represent system functionality, the requirements of the system from the user's perspective. Actors represent the people or systems that provide or receive information from the system. 2. Sequence diagrams: Sequence diagrams are used to show the flow of functionality through a use case. 3. Class diagrams: Describes show the static structure of the system being modeled 4. Statechart diagrams(optional): Describes object behaviors. Do for important classes only.

5 Example: A simple use case diagram An use case An actor Reminder: the information flow is bidirectional; the arrow only indicate who “ initiates ” the connection.

6 Some other notations in use-case diagram

7 Important things that you should keep in mind in use case diagram

8 Start your Rational Rose Based on your application development platform, choose your model. (TA: It seems that code generation of Java model requires IBM VisualAge, which is a integrated Java platform by IBM!)

9 A panel with commonly used buttons (actors, use cases, associations) Construct your use case diagram Actor Use case

10 Interaction diagrams An interaction diagram shows you, step−by−step, one of the flows through a use case: what objects are needed for the flow, what messages the objects send to each other, what actor initiates the flow, and what order the messages are sent. Two types of interaction diagrams are Sequence diagrams and Collaboration diagrams. So we ask you to hand in only one of them!

11 Example: Sequence diagram One use case

12 A Collaboration diagram shows the same information, but is organized differently. Although a Sequence diagram and a Collaboration diagram show you the same information, there are a couple of differences between these two diagrams. Sequence diagrams can show a focus of control. Collaboration diagrams can show a data flow.

13 Instructions in manipulating sequence diagram To create an actor object on a sequence diagram: 1. Open the sequence diagram. Browse  interaction diagram (You may create a new sequence diagram or open an existing one) 2. Select the actor in the browser (on the left panel). 3. Drag the actor from the browser to the open diagram. To remove an actor object from a sequence diagram: 1. Select the actor on the Interaction diagram. 2. Select Edit  Delete from Model, or press Ctrl+D. Note Deleting an actor from the diagram does not delete the actor from the model.

14 Illustration of constructing sequence diagram Drag and drop Object Different messages (self-loop, reply..) (Later you can associate each object with an existing class after class diagram is constructed)

15 After class diagram is constructed, you may add more information For instance, you may relate a object in the sequence diagram to a class in the class diagram. Also, you may map a message into an existing operation. Please check the reference for more details

16 Class diagram (for the concept of OO, please inform yourself) Control Panels 1.Right click on the class to add attributes and operations 2.Right click to add on sub- diagrams (and choose state- chart diagram) for further describing the behavior of the class