Professional Documents
Culture Documents
Introduction to Rational Rose 98i v 5.2 Copyright 1993-1999 Rational Software, all rights reserved
Objectives: Introduction
On completion of this module participants will be able to:
Discuss the different views supported by Rational Rose 98i List the diagrams for each view Discuss elements common to each view Configure the Rational Rose 98i interface
Introduction to Rational Rose 98i v 5.2 Copyright 1993-1999 Rational Software, all rights reserved
Page 1
Module 2 - Introduction 1
Introduction to Rational Rose 98i v 5.2 Copyright 1993-1999 Rational Software, all rights reserved
Introduction to Rational Rose 98i v 5.2 Copyright 1993-1999 Rational Software, all rights reserved
Page 2
Module 2 - Introduction 2
and swimlanes
Introduction to Rational Rose 98i v 5.2 Copyright 1993-1999 Rational Software, all rights reserved 7
Introduction to Rational Rose 98i v 5.2 Copyright 1993-1999 Rational Software, all rights reserved
Interaction Diagrams
Interaction diagrams show the existence of objects and their relationships in the logical design of a system
They may represent all or part of the object structure of a system
There are two kinds of interaction diagrams, each shows a different view of the same interaction
A sequence diagram shows object interactions arranged in time sequence A collaboration diagram is organized around the objects and their links to each other
Introduction to Rational Rose 98i v 5.2 Copyright 1993-1999 Rational Software, all rights reserved 9
Page 3
Module 2 - Introduction 3
Introduction to Rational Rose 98i v 5.2 Copyright 1993-1999 Rational Software, all rights reserved
10
Class Diagram
A class diagram depicts the static view of the system
It shows the existence of packages, classes, and their relationships in the logical design of a system A class diagram may represent all or part of the class structure of a system
Introduction to Rational Rose 98i v 5.2 Copyright 1993-1999 Rational Software, all rights reserved
11
State Diagram
A state diagram is created for classes with significant dynamic behavior A state diagram shows:
The state space of a given class The events that cause a transition The actions that result from a state change
Introduction to Rational Rose 98i v 5.2 Copyright 1993-1999 Rational Software, all rights reserved
12
Page 4
Module 2 - Introduction 4
Introduction to Rational Rose 98i v 5.2 Copyright 1993-1999 Rational Software, all rights reserved
13
The deployment diagram shows the allocation of processes to processors in the physical design of a system A process diagram shows
Nodes Connections
Introduction to Rational Rose 98i v 5.2 Copyright 1993-1999 Rational Software, all rights reserved
14
Introduction to Rational Rose 98i v 5.2 Copyright 1993-1999 Rational Software, all rights reserved
15
Page 5
Module 2 - Introduction 5
Rational Rose
Standard Toolbar
Browser
Diagram Window
Copy
Cut
Paste
Browse Parent
Zoom In
Fit in Window
Introduction to Rational Rose 98i v 5.2 Copyright 1993-1999 Rational Software, all rights reserved
17
Rose Browser
The Rose Browser is used to textually view and navigate between the components in each of the views
A + sign next to an icon indicates that the icon is collapsed A - sign next to an icon indicates that the icon is fully expanded
Page 6
Module 2 - Introduction 6
Introduction to Rational Rose 98i v 5.2 Copyright 1993-1999 Rational Software, all rights reserved
19
Specifications
Most modeling elements have a Specification that contains additional information about the modeling element
Introduction to Rational Rose 98i v 5.2 Copyright 1993-1999 Rational Software, all rights reserved
20
Introduction to Rational Rose 98i v 5.2 Copyright 1993-1999 Rational Software, all rights reserved
21
Page 7
Module 2 - Introduction 7
Notes
A note may be attached to any element in a diagram
Introduction to Rational Rose 98i v 5.2 Copyright 1993-1999 Rational Software, all rights reserved
22
Linking Diagrams
Diagrams may be linked by using a note
Introduction to Rational Rose 98i v 5.2 Copyright 1993-1999 Rational Software, all rights reserved
23
Introduction to Rational Rose 98i v 5.2 Copyright 1993-1999 Rational Software, all rights reserved
24
Page 8
Module 2 - Introduction 8
Rose Options
General
Fonts, use of backup files, save settings
Diagram
Display attributes, operations, visibility, focus of control, numbering for interaction diagrams, unresolved references adornments, automatic resize, snap to grid
Browser
Stereotype naming conventions
Introduction to Rational Rose 98i v 5.2 Copyright 1993-1999 Rational Software, all rights reserved
25
Toolbars
Toolbar display and customization DDL, IDL, Java, Oracle8, C++, MSVC, Visual Basic Create/modify/delete property sets for code generation
Introduction to Rational Rose 98i v 5.2 Copyright 1993-1999 Rational Software, all rights reserved
26
Introduction to Rational Rose 98i v 5.2 Copyright 1993-1999 Rational Software, all rights reserved
27
Page 9
Module 2 - Introduction 9
Introduction to Rational Rose 98i v 5.2 Copyright 1993-1999 Rational Software, all rights reserved
28
Pathmaps
The pathmap mechanism of Rational Rose 98i allows you to map an absolute path to a virtual path Example:
$MYPATH = Z:\Registration Rose will use the virtual path when the model is saved
Introduction to Rational Rose 98i v 5.2 Copyright 1993-1999 Rational Software, all rights reserved
29
Introduction to Rational Rose 98i v 5.2 Copyright 1993-1999 Rational Software, all rights reserved
30
Page 10
Module 2 - Introduction 10
Defining Pathmaps
Introduction to Rational Rose 98i v 5.2 Copyright 1993-1999 Rational Software, all rights reserved
31
Exercise: Setting up Rational Rose 98i Set up the Rose user interface for this course
If you are using Rose Enterprise, do NOT use a framework (hit Cancel on the Framework Wizard) Choose the following options (defaults may be used for all the other options) Do not show all attributes Do not show all operations Show operation signatures Do not use focus of control
Introduction to Rational Rose 98i v 5.2 Copyright 1993-1999 Rational Software, all rights reserved 32
Exercise: Setting up Rational Rose 98i Add the pathmap CURDIR = & and ROSE_COURSE set to your working directory Save the model as registration.mdl
Introduction to Rational Rose 98i v 5.2 Copyright 1993-1999 Rational Software, all rights reserved
33
Page 11
Module 2 - Introduction 11