SlideShare a Scribd company logo
1 of 16
Introduction to Rational Rose 98i Module 6: Collaboration Diagram
Objectives:  Collaboration Diagram ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Creating a Collaboration Diagram
Collaboration Diagram Toolbar Text Selection Tool Note Anchor Note to Item Object Link to Self Data Flow Class Instance Reverse Link Message Reverse Data Flow Object Link Link Message
Creating Objects Actor Object only Class only Object and class
Links Between Objects
Creating Messages OR
Multiple Objects of the Same Class
Reflexive Message
Multiple Messages per Message Arrow
Moving and Inserting Messages ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Data Flows
Message Synchronization Options ,[object Object],[object Object],[object Object],[object Object],[object Object]
Sequence Diagram
Exercise:  Collaboration Diagram
Exercise:  Sequence Diagram

More Related Content

What's hot

Interaction overview and Profile UML Diagrams
Interaction overview and Profile UML DiagramsInteraction overview and Profile UML Diagrams
Interaction overview and Profile UML DiagramsHusnain Safdar
 
Dynamic and Static Modeling
Dynamic and Static ModelingDynamic and Static Modeling
Dynamic and Static ModelingSaurabh Kumar
 
Realizing an Application Use Case
Realizing an Application Use CaseRealizing an Application Use Case
Realizing an Application Use CaseLeslie Munday
 
Lect-4: UML diagrams - Unified Modeling Language - SPM
Lect-4: UML diagrams - Unified Modeling Language - SPMLect-4: UML diagrams - Unified Modeling Language - SPM
Lect-4: UML diagrams - Unified Modeling Language - SPMMubashir Ali
 
UML Diagram - Use-Case diagram, Activity Diagram, Sequence Diagram, Er Diagra...
UML Diagram - Use-Case diagram, Activity Diagram, Sequence Diagram, Er Diagra...UML Diagram - Use-Case diagram, Activity Diagram, Sequence Diagram, Er Diagra...
UML Diagram - Use-Case diagram, Activity Diagram, Sequence Diagram, Er Diagra...Niloy Biswas
 
Activity Diagram Examples by Creately
Activity Diagram Examples by Creately Activity Diagram Examples by Creately
Activity Diagram Examples by Creately Creately
 
Selab1 slides
Selab1 slidesSelab1 slides
Selab1 slidesSumedha
 
UML - activity diagram tutorial
UML - activity diagram tutorialUML - activity diagram tutorial
UML - activity diagram tutorialEliza Wright
 
SE_Lec 06_Object Oriented Analysis and Design
SE_Lec 06_Object Oriented Analysis and DesignSE_Lec 06_Object Oriented Analysis and Design
SE_Lec 06_Object Oriented Analysis and DesignAmr E. Mohamed
 

What's hot (19)

Interaction overview and Profile UML Diagrams
Interaction overview and Profile UML DiagramsInteraction overview and Profile UML Diagrams
Interaction overview and Profile UML Diagrams
 
Dynamic and Static Modeling
Dynamic and Static ModelingDynamic and Static Modeling
Dynamic and Static Modeling
 
Processes and threads
Processes and threadsProcesses and threads
Processes and threads
 
Uml sequence diagrams
Uml sequence diagramsUml sequence diagrams
Uml sequence diagrams
 
Composite Structure Diagram
Composite Structure DiagramComposite Structure Diagram
Composite Structure Diagram
 
Object diagram
Object diagramObject diagram
Object diagram
 
Realizing an Application Use Case
Realizing an Application Use CaseRealizing an Application Use Case
Realizing an Application Use Case
 
Types of UML diagrams
Types of UML diagramsTypes of UML diagrams
Types of UML diagrams
 
Lect-4: UML diagrams - Unified Modeling Language - SPM
Lect-4: UML diagrams - Unified Modeling Language - SPMLect-4: UML diagrams - Unified Modeling Language - SPM
Lect-4: UML diagrams - Unified Modeling Language - SPM
 
Interaction overview & Timing diagram
Interaction overview & Timing diagramInteraction overview & Timing diagram
Interaction overview & Timing diagram
 
Matlab for marketing people
Matlab for marketing peopleMatlab for marketing people
Matlab for marketing people
 
UML Diagram - Use-Case diagram, Activity Diagram, Sequence Diagram, Er Diagra...
UML Diagram - Use-Case diagram, Activity Diagram, Sequence Diagram, Er Diagra...UML Diagram - Use-Case diagram, Activity Diagram, Sequence Diagram, Er Diagra...
UML Diagram - Use-Case diagram, Activity Diagram, Sequence Diagram, Er Diagra...
 
Activity Diagram Examples by Creately
Activity Diagram Examples by Creately Activity Diagram Examples by Creately
Activity Diagram Examples by Creately
 
Cs8592 ooad unit 3
Cs8592 ooad unit 3Cs8592 ooad unit 3
Cs8592 ooad unit 3
 
Object diagram
Object diagramObject diagram
Object diagram
 
Selab1 slides
Selab1 slidesSelab1 slides
Selab1 slides
 
UML - activity diagram tutorial
UML - activity diagram tutorialUML - activity diagram tutorial
UML - activity diagram tutorial
 
SE_Lec 06_Object Oriented Analysis and Design
SE_Lec 06_Object Oriented Analysis and DesignSE_Lec 06_Object Oriented Analysis and Design
SE_Lec 06_Object Oriented Analysis and Design
 
Class diagram
Class diagramClass diagram
Class diagram
 

Viewers also liked

Viewers also liked (9)

07state
07state07state
07state
 
10team
10team10team
10team
 
Tìm hiểu về SnagIt 11
Tìm hiểu về SnagIt 11Tìm hiểu về SnagIt 11
Tìm hiểu về SnagIt 11
 
Snag it
Snag itSnag it
Snag it
 
Se 06
Se 06Se 06
Se 06
 
08activity
08activity08activity
08activity
 
12report
12report12report
12report
 
11script
11script11script
11script
 
09componentdeployment
09componentdeployment09componentdeployment
09componentdeployment
 

Similar to Introduction to Rational Rose 98i Module 6: Collaboration Diagrams

Structural Design pattern - Adapter
Structural Design pattern - AdapterStructural Design pattern - Adapter
Structural Design pattern - AdapterManoj Kumar
 
08 class and sequence diagrams
08   class and sequence diagrams08   class and sequence diagrams
08 class and sequence diagramskebsterz
 
OOAD with UML (Interaction Diagramming)
OOAD with UML (Interaction Diagramming)OOAD with UML (Interaction Diagramming)
OOAD with UML (Interaction Diagramming)jsm1979
 
Introduction to Rational Rose
Introduction to Rational RoseIntroduction to Rational Rose
Introduction to Rational RoseMunaam Munawar
 
Patterns (contd)Software Development ProcessDesign patte.docx
Patterns (contd)Software Development ProcessDesign patte.docxPatterns (contd)Software Development ProcessDesign patte.docx
Patterns (contd)Software Development ProcessDesign patte.docxdanhaley45372
 
Object Oriented Design
Object Oriented DesignObject Oriented Design
Object Oriented DesignAravinth NSP
 
M04 Design Patterns
M04 Design PatternsM04 Design Patterns
M04 Design PatternsDang Tuan
 
Exp2003 exl ppt_03
Exp2003 exl ppt_03Exp2003 exl ppt_03
Exp2003 exl ppt_03lonetree
 
Sap bo 4.2 course content (1)
Sap bo 4.2 course content (1)Sap bo 4.2 course content (1)
Sap bo 4.2 course content (1)vamshireddy kunta
 
How to Use Visio for Project Management
How to Use Visio for Project ManagementHow to Use Visio for Project Management
How to Use Visio for Project ManagementFelipe Guedes Pinheiro
 
Microsoft_Office_Visio_Professional_2007_for_IT_How_to_Use_Visio_
Microsoft_Office_Visio_Professional_2007_for_IT_How_to_Use_Visio_Microsoft_Office_Visio_Professional_2007_for_IT_How_to_Use_Visio_
Microsoft_Office_Visio_Professional_2007_for_IT_How_to_Use_Visio_TURKI , PMP
 
Design And Documentation
Design And DocumentationDesign And Documentation
Design And DocumentationMiles Price
 
CMSC 350 Project 4 The fourth programming project involves.docx
CMSC 350 Project 4 The fourth programming project involves.docxCMSC 350 Project 4 The fourth programming project involves.docx
CMSC 350 Project 4 The fourth programming project involves.docxmccormicknadine86
 

Similar to Introduction to Rational Rose 98i Module 6: Collaboration Diagrams (20)

05sequence
05sequence05sequence
05sequence
 
Structural Design pattern - Adapter
Structural Design pattern - AdapterStructural Design pattern - Adapter
Structural Design pattern - Adapter
 
08 class and sequence diagrams
08   class and sequence diagrams08   class and sequence diagrams
08 class and sequence diagrams
 
Php models
Php modelsPhp models
Php models
 
OOAD with UML (Interaction Diagramming)
OOAD with UML (Interaction Diagramming)OOAD with UML (Interaction Diagramming)
OOAD with UML (Interaction Diagramming)
 
Introduction to Rational Rose
Introduction to Rational RoseIntroduction to Rational Rose
Introduction to Rational Rose
 
Ch08
Ch08Ch08
Ch08
 
02intro
02intro02intro
02intro
 
Patterns (contd)Software Development ProcessDesign patte.docx
Patterns (contd)Software Development ProcessDesign patte.docxPatterns (contd)Software Development ProcessDesign patte.docx
Patterns (contd)Software Development ProcessDesign patte.docx
 
Object Oriented Design
Object Oriented DesignObject Oriented Design
Object Oriented Design
 
Object Oriented Design
Object Oriented DesignObject Oriented Design
Object Oriented Design
 
M04 Design Patterns
M04 Design PatternsM04 Design Patterns
M04 Design Patterns
 
Exp2003 exl ppt_03
Exp2003 exl ppt_03Exp2003 exl ppt_03
Exp2003 exl ppt_03
 
Uml - An Overview
Uml - An OverviewUml - An Overview
Uml - An Overview
 
Sap bo 4.2 course content (1)
Sap bo 4.2 course content (1)Sap bo 4.2 course content (1)
Sap bo 4.2 course content (1)
 
How to Use Visio for Project Management
How to Use Visio for Project ManagementHow to Use Visio for Project Management
How to Use Visio for Project Management
 
Microsoft_Office_Visio_Professional_2007_for_IT_How_to_Use_Visio_
Microsoft_Office_Visio_Professional_2007_for_IT_How_to_Use_Visio_Microsoft_Office_Visio_Professional_2007_for_IT_How_to_Use_Visio_
Microsoft_Office_Visio_Professional_2007_for_IT_How_to_Use_Visio_
 
Design And Documentation
Design And DocumentationDesign And Documentation
Design And Documentation
 
Ood Post1
Ood Post1Ood Post1
Ood Post1
 
CMSC 350 Project 4 The fourth programming project involves.docx
CMSC 350 Project 4 The fourth programming project involves.docxCMSC 350 Project 4 The fourth programming project involves.docx
CMSC 350 Project 4 The fourth programming project involves.docx
 

More from Nguyen Tran

More from Nguyen Tran (20)

04class
04class04class
04class
 
03usecase
03usecase03usecase
03usecase
 
01about
01about01about
01about
 
Clear case
Clear caseClear case
Clear case
 
Business process excution language
Business process excution languageBusiness process excution language
Business process excution language
 
Vs doc man
Vs doc manVs doc man
Vs doc man
 
Cm mi
Cm miCm mi
Cm mi
 
Sql packager
Sql packagerSql packager
Sql packager
 
Record mydesktop
Record mydesktopRecord mydesktop
Record mydesktop
 
Rational suite&rational rose enterprise
Rational suite&rational rose enterpriseRational suite&rational rose enterprise
Rational suite&rational rose enterprise
 
Umodel 2009
Umodel 2009Umodel 2009
Umodel 2009
 
Rational composer method
Rational composer methodRational composer method
Rational composer method
 
Rational robot
Rational robotRational robot
Rational robot
 
Rational purify plus
Rational purify plusRational purify plus
Rational purify plus
 
Microsoft silverlight
Microsoft silverlightMicrosoft silverlight
Microsoft silverlight
 
Linq n hibernate net-tier
Linq n hibernate net-tierLinq n hibernate net-tier
Linq n hibernate net-tier
 
Jsf
JsfJsf
Jsf
 
Install shield
Install shieldInstall shield
Install shield
 
Flex presentation1
Flex presentation1Flex presentation1
Flex presentation1
 
Extreme programming
Extreme programmingExtreme programming
Extreme programming
 

Introduction to Rational Rose 98i Module 6: Collaboration Diagrams

Editor's Notes

  1. To create a collaboration diagram in the Browser Click right to select the “owning” package or use case in the Browser and make the pop up menu visible. Select the New:Collaboration Diagram menu command. While the diagram is still selected, enter the name of the diagram. To open a collaboration diagram Double click on the collaboration diagram in the Browser. Explain that a collaboration diagram may be created in either the use case view or the logical view. The diagram is “owned” by either a package or a use case. Our process and OOAD course have use case realizations in the logical view. For simplicity, this course just uses the use case view.
  2. To customize the sequence diagram toolbar Click right on the toolbar to make the pop up menu visible. Select the Customize menu command Click to select the button that you want to add or remove. Click the Add or Remove button to add or remove the button from the toolbar. Click the Close button to close the Customize Toolbar window.
  3. To add an actor to a collaboration diagram Click to select the actor in the Browser. Drag the actor onto the diagram. To create a named object Click to select the object icon on the toolbar. Click on the collaboration diagram to place the object. While the object is still selected, enter its name. To assign an object to a class Click to select the class in the Browser. Drag the class onto the object. To create an anonymous object (unnamed object assigned to a class) Click to select the object icon on the toolbar. Click on the collaboration diagram to place the object. Follow the steps to assign an object to a class.
  4. To create a link Click to select the Object Link icon on the toolbar. Click on the client object (object sending the message). Drag the object link to the supplier object. A link provides a pathway for communication between objects. It allows the objects to “talk”.
  5. To create a message Click to select the Link Message icon (or the Reverse Link Message icon) on the toolbar. Click on the line representing the link to place the message arrow. While the message arrow is still selected, enter its name. To set message numbering Select the Tools:Options menu command. Select the Diagram tab. Click the Collaboration Diagram Numbering check box to toggle the selection (numbering on, numbering off). Objects communicate through messages. A message is shown as an arrow attached to a link that points from the client (sender of the message) to the supplier (receiver of the message).
  6. To create multiple objects of the same class Click-right on the object on a collaboration diagram to make the pop up menu visible. Select the Open Specification menu command. Click the Multiple Instances check box to toggle the selection. A message may be sent to multiple objects of the same class. This may be shown in a collaboration diagram by “ stacking” the object icon.
  7. To create a reflexive message Click to select the Link to Self icon on the toolbar. Click on the object on the collaboration diagram that needs a reflexive message to place the link. Click to select the Object Message icon on the toolbar. Click on the line representing the link to self to place the message arrow. While the message is still selected, enter the name of the message. A reflexive message indicates that the object is collaborating with itself.
  8. To create multiple messages on the same arrow Click right on the link to make the pop up menu visible. Select the Open Specification menu command. Select the Messages tab. Click right to make the pop up menu visible. Select the appropriate Insert to … menu command to insert a new message (the next number will be used). While the new message is still selected, enter its name. Click the OK button to close the Specification. Note: If a collaboration diagram is created from a sequence diagram, this is the format that is used. All messages attached to a given message arrow will have the same synchronization option. If different synchronization is needed, then each message must have its own arrow.
  9. To switch between a collaboration diagram and a sequence diagram Press the F5 button.
  10. To create a data flow Click to select the Data Flow icon (or the Reverse Data Flow icon) on the toolbar. Click on the message arrow that it modifies to place the data flow. While the data flow is still selected, enter its name. A data return value may be shown on a collaboration diagram. Stress that this is only shown for “significant” data returns.
  11. To set message synchronization Click right on the message arrow to make the pop up menu visible. Select the Open Specification menu command (the object must be assigned to a class). Select the Detail tab. Select the desired synchronization. Click the OK button to close the Specification. Simple -- single thread of control Synchronous -- operation proceeds when the client sends a message to the supplier and the supplier accepts the message Balking -- Client sends a message only if the supplier is immediately ready to accept the message Timeout -- Client abandons a message if the supplier cannot handle the message within a specified amount of time Asynchronous -- client sends a message to the supplier for processing and continues to execute without waiting for a reply.
  12. To create a sequence diagram from a collaboration diagram Open the collaboration diagram. Press the F5 button. Move the objects as needed. Note: Pressing the F5 button will allow you to go between a collaboration diagram and its corresponding sequence diagram.
  13. Hints: This is the Close Registration - Main Flow collaboration diagram attached to the Close Registration use case. You need to create four new classes -- MainForm, CloseRegistrationForm, CloseRegistrationController and Schedule. You can do this via the Object Specification by selecting the Class Field = New value (see previous lesson, pages 6 and 7). Relocate the new classes to the following packages in the Logical View MainForm and RegistrationForm belong in the User Interface package CloseRegistrationController belongs to the Business Services package. Schedule belongs to the Business Objects package.
  14. Hint: Create the sequence diagram from the collaboration diagram by pressing the F5 button. Move objects and messages as needed.