Sequence Diagrams And Collaboration Diagrams HungNM.

Slides:



Advertisements
Similar presentations
AS ICT Building MS-Access Databases. Creating a Combo Box Drop Down List 1.When creating a Field requiring a Drop Down list in a Table, select the Lookup.
Advertisements

 Use the Left and Right arrow keys or the Page Up and Page Down keys to move between the pages. You can also click on the pages to move forward.  To.
CPIT 102 CPIT 102 CHAPTER 1 COLLABORATING on DOCUMENTS.
Using Macros and Visual Basic for Applications (VBA) with Excel
Introduction to Rational Rose 2000 v6.5 Copyright © 1999 Rational Software, all rights reserved 1 Rational Rose 2000 Interaction Diagrams.
CREATING A MULTIPLE PAGE REPORT Presented by: Dr. Ennis-Cole.
XP Tutorial 4 New Perspectives on Microsoft Windows XP 1 Microsoft Windows XP Personalizing Your Windows Environment Tutorial 4.
COMPREHENSIVE Windows Tutorial 3 Personalizing Your Windows Environment.
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Word Project 7 Creating an Online Form.
Advanced Microsoft Word Hosted by Jared Hoffman Topics Keyboard Shortcuts Customizing Toolbars and Menus Auto Format & Auto Correct Tabs Inserting Pictures.
Microsoft Office 2007 Access Chapter 2 Querying a Database.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Access Project 2 Querying a Database Using the Select Query Window.
Macros Tutorial Week 20. Objectives By the end of this tutorial you should understand how to: Create macros Assign macros to events Associate macros with.
1 of 2 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
Key Applications Module Lesson 12 — Word Essentials
Copyright 2007, EMC Paradigm Publishing Inc. WINDOWS XP BACKNEXTEND 1-1 LINKS TO OBJECTIVES Starting Windows Using the Taskbar, opening & switching programs.
Printing and Page Formatting ITSW 1401, Intro to Word Processing Instructor: Glenda H. Easter.
COMPREHENSIVE Excel Tutorial 8 Developing an Excel Application.
Objectives © Paradigm Publishing, Inc. 1 Objectives.
Objectives © Paradigm Publishing, Inc. 1 Objectives.
Access Tutorial 10 Automating Tasks with Macros
Chapter 9 Macros, Navigation Forms, PivotTables, and PivotCharts
Chapter 2 Querying a Database
Lesson 5: Using Tasks, Notes and the Journal
WORKING WITH MACROS CHAPTER 10 WORKING WITH MACROS.
Chapter 3 Maintaining a Database
Excel 2007 Part (2) Dr. Susan Al Naqshbandi
Chapter 2 Querying a Database MICROSOFT ACCESS 2010.
1 CA201 Word Application Increasing Efficiency Week # 13 By Tariq Ibn Aziz Dammam Community college.
Chapter 1 Databases and Database Objects: An Introduction
Introduction to the WebBoard Terry Dennis. The WebBoard - Our Connection The WebBoard URL is
Chapter 2 Creating a Research Paper with References and Sources Microsoft Word 2013.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 4 1 Microsoft Office FrontPage 2003 Tutorial 4 – Using Shared Borders and Themes.
Chapter 6 Advanced Report Techniques
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 21 Fields and Forms.
Microsoft Word 2000 Presentation 5. Major Word Topics Columns Tables Lists.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Web Feature Data Access Pages.
Microsoft Windows Vista Chapter 1 Fundamentals of Using Microsoft Windows Vista.
Prepared by: Sanaz Helmi Hoda Akbari Zahra Ahmadi Sharif University of Tech. Summer 2006 An Introduction to.
Chapter 6 Generating Form Letters, Mailing Labels, and a Directory
Microsoft Windows 7 Part 1 Fundamentals of Using Windows 7.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. M I C R O S O F T ® Integrating with Other Programs Lesson 12.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 6 Switchboards, PivotTables, and PivotCharts.
This tutorial teaches Microsoft Word basics. Although knowledge of how to navigate in a Windows environment is helpful, this tutorial was created for.
1 NORMA Lab. 2 Revision: Unary and Binary Fact Types Ternary Fact Types Inclusive-Or Constraints External Uniqueness Constraints Value Constraints Derived.
Office Management Tools II Ms Saima Gul.  When you create your tables, you should assign each table a primary key—one or more fields whose contents are.
Windows Tutorial Common Objects ACOS: 1, 4. Using the Taskbar 1. Using the taskbar, you can switch between open programs and between open documents within.
Microsoft Office 2007 Access Chapter 6 Using Macros, Switchboards, PivotTables, and PivotCharts.
Setting Up Alerts and Dashboard Links. When you first start using the Active Orders system, you will need to establish the settings for two types.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 15 Advanced Tables.
Microsoft Access 2010 Chapter 10 Administering a Database System.
Collaboration Diagrams CSIS3600. What is a Collaboration Diagram Collaboration diagrams illustrate interactions between objects The collaboration diagram.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 2 BACKNEXTEND 2-1 LINKS TO OBJECTIVES Creating Related Tables Creating Related Tables Determining.
Microsoft Access 2010 Chapter 8 Advanced Form Techniques.
Information Systems Engineering Interaction Diagrams: Sequence Diagram Collbortion Diagram.
GISMO/GEBndPlan Overview Geographic Information System Mapping Object.
A skills approach © 2012 The McGraw-Hill Companies, Inc. All rights reserved. powerpoint 2010 Chapter 4 Managing and Delivering Presentations.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 8 – Integrating a Database with a FrontPage.
Chapter 3 Automating Your Work. It is frustrating when you have to type the same passage of text repeatedly. For example your name and address. Word includes.
Statechart Diagrams. Creating a Statechart Diagram A Statechart diagram shows the life cycle of a single object, from the time that it is created until.
Key Applications Module Lesson 14 — Working with Tables Computer Literacy BASICS.
Customizing Menus and Toolbars CHAPTER 12 Customizing Menus and Toolbars.
Access Queries and Forms. Adding a New Field  To insert a field after you have saved your table, open Access, and open the table  It is easier to add.
Integrating Components and Dynamic Text Boxes with the Animated Map– Lesson 101 Integrating Components and Dynamic Text Boxes with the Animated Map Lesson.
Key Applications Module Lesson 12 — Word Essentials Computer Literacy BASICS.
Chapter 8 Using Document Collaboration, Integration, and Charting Tools Microsoft Word 2013.
Using Macros, Switchboards, PivotTables, and PivotCharts
Key Applications Module Lesson 12 — Word Essentials
Key Applications Module Lesson 12 — Word Essentials
Chapter 8 Using Document Collaboration and Integration Tools
Presentation transcript:

Sequence Diagrams And Collaboration Diagrams HungNM

Sequence Diagram Toolbar

The Collaboration Diagram Toolbar

Working with Actors on an Interaction Diagram To create an actor object on an Interaction diagram:  1. Open the Interaction diagram.  2. Select the actor in the browser.  3 Drag the actor from the browser to the open diagram.

Remove actor To remove an actor object from an Interaction diagram: –1. Select the actor on the Interaction diagram. –2. Select Edit / Delete from Model, or press Ctrl+D.

Working with Objects To add an object to a Sequence diagram: –1. Select the Object toolbar button. –2. Click in the location on the diagram where you want the object to reside. In a Sequence diagram, objects are arranged in a row near the top. –3. Type the name of the new object.

Working with Objects Add an object to a Collaboration diagram: –1. Select the Object toolbar button. –2. Click in the location on the diagram where you want the object to reside. In a Collaboration diagram, objects can be located anywhere. –3. Type the name of the new object.

Deleting Objects from an Interaction Diagram Remove an object –Select the object in the Sequence or Collaboration diagram. –Select Edit / Delete from Model, or press Ctrl+D.

Setting Object Specifications you can set the object's name, its class, its persistence, and whether there are multiple instances of the object. To open the object specifications: –1. Right−click the object in the Sequence or Collaboration diagram. –2. Select Open Specification from the shortcut menu. OR –1. Select the object in the Sequence or Collaboration diagram. –2. Select Browse / Specification, or press Ctrl+B.

Naming an Object Each object on a Sequence or Collaboration diagram should be given a unique name. On an Interaction diagram, you may have two objects that are instances of the same class. To name an object: –1. Right−click the object in the Sequence or Collaboration diagram. –2. Select Open Specification from the shortcut menu. –3. In the Name field, enter the object's name. You may also use this field to change the name of the object later on.

Add documentation to an object: 1. Right−click the object in the Sequence or Collaboration diagram. 2. Select Open Specification from the shortcut menu. 3. In the Documentation field, you can enter documentation for the object.

Mapping an Object to a Class On a Sequence or Collaboration diagram, each object may be mapped to a class. In the object specification window, you can use the Class field to set the object's class. Default, the class will be set to (Unspecified). When selecting a class for the object, you can either use an existing class from your model or create a new class for the object.

Mapping an Object to a Class 1. Right−click the object in the Interaction diagram. 2. Select Open Specification from the shortcut menu. 3. In the Class drop−down list box, type the class name or select an option from the drop−down list box. 4. Once you have mapped the object to a class, the class name will appear with the object name on the diagram, preceded by a colon. You can toggle the display of the class name by right−clicking the object and selecting Show Class.

Mapping an Object to a Class Or Select the class in the Logical view of the browser. Drag the class from the browser to the object in the diagram. Once you have mapped the object to a class, the class name will appear with the object name on the diagram, preceded by a colon:

To remove an object's class mapping: 1. Right−click the object in the Sequence or Collaboration diagram. 2. Select Open Specification from the shortcut menu. 3. In the Class drop−down list box, select (Unspecified).

To create a new class for the object: 1. Right−click the object in the Sequence or Collaboration diagram. 2. Select Open Specification from the shortcut menu. 3. Select in the Class drop−down list box. Rose will take you to the specification window for the new class.

Setting view object and class property

Setting Object Persistence

Using Multiple Instances of an Object Rose provides the option of using one icon to represent multiple instances of the same class. Say, for example, that you would like to represent a list of employees on a Sequence or Collaboration diagram.

II. Working with Messages A message is a communication between objects in which one object (the client) asks another object (the supplier) to do something.

II.1 Adding Messages to a Sequence Diagram Select the Object Message button from the toolbar. Drag the mouse from the lifeline of the object or actor sending the message to the object or actor receiving the message, as shown in Type in the text of the message.

Add a reflexive message

Deleting Messages from a Sequence Diagram

Message Numbering in a Sequence Diagram To turn message numbering on or off: –1. Select Tools / Options. –2. Select the Diagram tab. –Set the Sequence Numbering check box to on or off, as shown in

Message Numbering in a Sequence Diagram

III Adding Messages to a Collaboration Diagram Before you can add messages to a Collaboration diagram. You have to establish a path of communication between two objects. This path is called a link, and is created using the Object Link toolbar button.

Add a message to a Collaboration diagram:

To add a reflexive message 1. Select the Link to Self toolbar button. 2. Click the object sending and receiving the message. Rose will draw a reflexive link on the object. It will appear above the object and look like a half−circle. 3.Select the Link Message toolbar button. 4. Click the object's reflexive link. Rose will add the message arrow, as shown in 5. With the new message still selected, enter the text of the message.

Message Numbering in a Collaboration Diagram

Adding Data Flows to a Collaboration Diagram Collaboration diagrams show data flows; Sequence diagrams do not. Data flows are used to show the information that is returned when one object sends a message to another. You don't add data flows to every message on a Collaboration diagram. When you eventually map each message to an operation of a class, the information in the data flows will be added to the operation's details.

Adding Data Flows to a Collaboration Diagram 1. Select the Data Token or Reverse Data Token toolbar button. 2. Click on the message that will be returning data. Rose will automatically add the data flow arrow to the diagram, as shown in 3. With the new data flow still selected, type in the data that will be returned.

IV Setting Property Message : Setting Message Specifications Double−click the message on the diagram. The message specification window will

Naming a Message 1. Double−click the message on the Sequence or Collaboration diagram. 2. If you have mapped the receiving object to a class, the operations of that class will appear in the Name drop−down list box. Select an entry from the list or type in the name of the message.

Mapping a Message to an Operation Each message on your Sequence and Collaboration diagrams should be mapped to an operation of a class.

To map a message to an existing operation:

To remove a message's operation mapping: 1. Double−click the message in the Sequence or Collaboration diagram. 2. In the Name field, delete the operation name and enter the new message name.

Create a new operation for the message: 1. Be sure the receiving object (the supplier) has been mapped to a class. 2. Right−click the message in the Sequence or Collaboration diagram. 3. Select. 4. Enter the new operation's name and details. 5. Click OK to close the operation specification window and add the new operation. 6. Right−click the message. 7. Select the new operation from the list that appears.

Setting Message Synchronization Options

Simple This is the default value for messages. This option specifies that the message runs in a single thread of control.

Setting Message Synchronization Options Synchronous Use this option when the client sends the message and waits until the supplier has acted upon the message.

Setting Message Synchronization Options Balking With this option, the client sends the message to the supplier. If the supplier is not immediately ready to accept the message, the client abandons the message.

Setting Message Synchronization Options Timeout Using this option, the client sends the message to the supplier and waits a specified amount of time. If the supplier isn't ready to receive the message in that time, the client abandons the message.

Setting Message Synchronization Options Asynchronous With this option, the client sends the message to the supplier. The client then continues processing, without waiting to see if the message was received or not.

Setting Message Synchronization Options Procedure Call With this option, the client sends the message to the supplier. The client then must wait until the entire nested sequence of messages is processed before continuing. On the Sequence diagram, procedure call messages look like this:

Setting Message Synchronization Options Return This option indicates the return from a procedure call. On the Sequence diagram, return messages look like this:

To set the message synchronization:

Setting Message Frequency Message frequency lets you mark a message to be sent at regular intervals. Say, for example, you have a message that should run once every 30 seconds.

Setting Message Frequency Periodic This option suggests that the message is sent on a regular, periodic basis. Aperiodic This option suggests that the message is not sent on a regular basis. It may be sent only once or at irregular points in time.

Setting Message Frequency

Create Interaction Diagrams

Setup

Collaboration diagram

Add Messages to the Diagram

7. Repeat steps 4 through 6 to add additional messages to the diagram –Add white crew socks to cart (between Cart Interface and Cart Mgr) –Get white crew socks (between Cart Mgr and Product Mgr) –Find product (white crew socks) (between Product Mgr and Product Items) –Get product (between Product Items and White Crew Socks) –Add white crew socks to cart (between Cart Mgr and Cart Items)