The PUMA project 29 June 2004 Toqeer A Israr page 1 Transformation of Scenarios represented in UML 2.0 Sequence Diagrams to CSM Toqeer A Israr Carleton.

Slides:



Advertisements
Similar presentations
© 2005 by Prentice Hall Appendix 3 Object-Oriented Analysis and Design Modern Systems Analysis and Design Fourth Edition Jeffrey A. Hoffer Joey F. George.
Advertisements

Sequence diagram How to. Guards Sequence diagram with combined fragments and messages Sequence diagram based on figure of UML specification It.
ASWEC 2006 Proposed Notation for Exception Handling in UML 2 Sequence Diagrams Oddleif Halvorsen Øystein Haugen.
© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 1 Appendix 3 Object-Oriented Analysis and Design.
A Brief Introduction. Acknowledgements  The material in this tutorial is based in part on: Concurrency: State Models & Java Programming, by Jeff Magee.
Session 18 Modeling the Dynamic View: The Collaboration Diagram Written by Thomas A. Pender Published by Wiley Publishing, Inc. October 20, 2011 Presented.
Summary Class responsibility cards can be used to help allocate responsibilities between different classes. The use of stereotype classes, such as entity,
Introduction to UML Part 2 Behavioral Modeling. Sequence (event) diagram Describes object interaction Typically captures behavior of a single use case.
THE OBJECT-ORIENTED DESIGN WORKFLOW UML2 Sequence Diagrams.
1 © Wolfgang Pelz UML2 UML Part Two. 2 © Wolfgang Pelz UML2 Chapters Four & Twelve Interaction Diagrams.
1Spring 2005 Specification and Analysis of Information Systems Modeling Behavior with UML Sequence Diagrams Eran Toch
S A B D C T = 0 S gets message from above and sends messages to A, C and D S.
1 UML Component and Deployment Diagrams. Models, Views, and Diagrams Use Case Diagrams Use Case Diagrams Use Case Diagrams Scenario Diagrams Scenario.
Sequence Diagram. What is Sequence Diagram?  Sequence Diagram is a dynamic model of a use case, showing the interaction among classes during a specified.
Lab 6 CPIT 250 System Analysis and Design.
Sequence diagram example T120B029P pavasaris.
UML Diagrams: Sequence Diagrams The Requirements Model, and The Dynamic Analysis Model Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical.
Basic Concepts The Unified Modeling Language (UML) SYSC System Analysis and Design.
UML Diagrams: Sequence Diagrams The Requirements Model, and The Dynamic Analysis Model Prof. Hany H. Ammar, CSEE, WVU, and Dept. of Computer Science, Faculty.
Karolina Muszyńska Based on: S. Wrycza, B. Marcinkowski, K. Wyrzykowski „Język UML 2.0 w modelowaniu SI”
Chungbuk National University Software Engineering Lab.
CS3773 Software Engineering
מידול התנהגותי 1. Today’s Session Sequence Diagrams State Machines 2.
1 CSC 450 Slides adapted from slides created by Robert B. France UML Behavioral Models.
1 SAD2 - UML 2 nd Lecture Sequence Diagram and other dynamic views Lecturer: Dr Dimitrios Makris
Modeling Tools for Healthcare Technical Overview April 8, 2009.
Introduction to Interaction Diagrams Used to illustrate the dynamic behaviour of a community of objects that collaborate by passing messages in order to.
Business Informatics Group Institute of Software Technology and Interactive Systems Vienna University of Technology Favoritenstraße 9-11/188-3, 1040 Vienna,
UML Diagrams: Sequence Diagrams The Requirements Model, and The Dynamic Analysis Model Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical.
Chapter 2, Modeling with UML, Part 3 UML 2 Hightlights
© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1 UML Sequence Diagrams.
Chapter 2, Modeling with UML: UML 2 Hightlights
1 UML Sequence Diagrams UML Distilled, Third Edition, Chapter 4 M. Fowler.
Smith’s Aerospace © P. Bailey & K. Vander Linden, 2005 Interaction and Communication Diagrams Patrick Bailey Keith Vander Linden Calvin College.
1 Advanced Behavioral Model Part 1: Processes and Threads Part 2: Time and Space Chapter22~23 Speaker: 陳 奕 全 Real-time and Embedded System Lab 10 Oct.
1 An Introduction to UML Interaction (Sequence and Communication) Diagrams Georgia State University CIS 3300 Spring, 2009.
University of Toronto at Scarborough © Bennett, McRobb and Farmer 2005 CSCC40 communication and sequence diagrams : listCampaigns *[For.
1/26 On-demand Learning Series Software Engineering of Web Application - Object-Oriented Development & UML Hunan University, Software School.
CIM LAB MEETING Presentation on UML Rakesh Mopidevi Kwangyeol Ryu.
Karolina Muszyńska Based on: S. Wrycza, B. Marcinkowski, K. Wyrzykowski „Język UML 2.0 w modelowaniu SI”
12 Chapter 12: Advanced Topics in Object-Oriented Design Systems Analysis and Design in a Changing World, 3 rd Edition.
Dynamic Models Sequence Diagrams Collaboration Diagrams Activity Diagrams.
1 Technical & Business Writing (ENG-715) Muhammad Bilal Bashir UIIT, Rawalpindi.
UML The Unified Modeling Language A Practical Introduction Al-Ayham Saleh Aleppo University
CS212: Object Oriented Analysis and Design Lecture 33: Class and Sequence Diagram.
© Bennett, McRobb and Farmer Object Interaction – Sequence Diagrams Based on Chapter 9 of Bennett, McRobb and Farmer: Object Oriented Systems Analysis.
SAD2 - UML Lecturer: Dr. Dimitrios Makris 1st Lecture
CSC 520 – Advanced Object Oriented Programming, Fall, 2010 Thursday, October 14 Week 7, UML Diagrams
UML 1.4 to Core Scenario Model Transformation for PUMA Project Kathleen H. Shen Department of Systems and Computer Engineering Carleton.
Karolina Muszyńska Based on: S. Wrycza, B. Marcinkowski, K. Wyrzykowski „Język UML 2.0 w modelowaniu SI”
 The Sequence Diagram models the collaboration of objects based on a time sequence.  It shows how the objects interact with others in a particular scenario.
PAPYRUS Tutorial CSOS 손 태 용.
Basics of RSA Rational Software Architect. What is RSA? Comprehensive Modeling and Development environment that leverages the Unified Modeling Language.
Sequence diagrams Lecture 5. Main terms  Interaction  Life line  Activation  Executable behavior and derived behavior  Messages  Trajectory  Frame.
UML(Unified Modeling Language)
Instructor: Dr. Hany H. Ammar
UML SEQUENCE DIAGRAM.
Unified Modeling Language
Sequence Diagram.
Sequence Diagram.
Business System Development
Dynamic Modeling: Defining Classes
UML Sequence Diagrams.
Superior University, Lahore
UML Diagrams: Sequence Diagrams Dynamic Analysis Model
Chapter 9: Sequence Diagrams Chapter 5 in Software Engineering Book
Interaction Diagrams A Lot of UML!
UML Interaction diagrams
Copyright © 2015, 2012, 2009 Elsevier Inc. All rights reserved.
Appendix 3 Object-Oriented Analysis and Design
Presentation transcript:

The PUMA project 29 June 2004 Toqeer A Israr page 1 Transformation of Scenarios represented in UML 2.0 Sequence Diagrams to CSM Toqeer A Israr Carleton University introduction to UML 2.0 sequence diagrams transformation rules from UML 2.0 to CSM

The PUMA project 29 June 2004 Toqeer A Israr page 2 Conceptual High Level View Eclipse Create UML 2.0 model represented as internal data structure Apply Profile Eclipse Annotated model with performance annotations Java Eclipse Navigate annotated UML model Generate CSM objects(in Java) Create InputOutput XMI XML

The PUMA project 29 June 2004 Toqeer A Israr page 3 Simple Interaction Diagram sd S s:CAt:CB m1 Interaction Lifeline Gate Event Occurrence (sending) Message EventOccurrence (receiving) Execution Occurrence Event Occurrence

The PUMA project 29 June 2004 Toqeer A Israr page 4 Complex Interaction Diagram sd C User:System CardOut EstablishAccess(“Illegal PIN”) ref opt msg(“Please Enter”) OpenDoor ref Interaction Occurrence Combined Fragment

The PUMA project 29 June 2004 Toqeer A Israr page 5 sd S1 s:CAt:CB m Synchronous message between passive objects x1 x2 x1 ’ x1 ” Step::x1 ’ Seq Step::x2 Seq Step::x1 ” Step::x1 Seq Step::x Step::x1 Step::x Notation: Seq

The PUMA project 29 June 2004 Toqeer A Israr page 6 Synchronous Message between objects stereotyped > Step::x1 Step:x2 ResAcq:: ResRel:: Processing Resource:: CPU Component: s Processing Resource:: CPU Component: t sd S2 > t:CB m > s:CA x1 x Component s was acquired before x1

The PUMA project 29 June 2004 Toqeer A Israr page 7 Asynchronous Message sd SA s:CAt:CB m1 x1 x1’ x1’’ x2 Step::x1 ’ Fork Step:x1 ” Step:x2 Step::x1 Fork Step:x

The PUMA project 29 June 2004 Toqeer A Israr page 8 Asynchronous Message (cont) sd SA s:CAt:CB m1 x2 x3 m2 x1 Step::x1 ’ Fork Step:x2 Step:x3

The PUMA project 29 June 2004 Toqeer A Israr page 9 Asynchronous message between components stereotyped > sd SA2 m1 m2 x2 x3 x1 > t:CB > s:CA Step::x1 Fork Step:x2 Step:x3 ResAcq:: Processing Resource:: CPU Component: s Processing Resource:: CPU Component: t Component s was acquired before x

The PUMA project 29 June 2004 Toqeer A Israr page 10 Interaction Diagram – Combined Fragment sd CF s:CAt:CB m1 Step::x1 Branch Processing Resource:: CPU Component: s Processing Resource:: CPU Component: t alt m2 value > 0 [else] m3 x1 x2 x3 x4 ResAcq:: Step::x3 ResRel:: ResAcq:: Step::x3 ResRel:: ResAcq:: Step::x2 ResRel:: Component s was acquired before x1

The PUMA project 29 June 2004 Toqeer A Israr page 11 Interaction Diagram – Interaction Occurrence sd IO s:CAt:CB m1 x2 ref y x1 ResRel:: Step::x1 Processing Resource:: CPU Component: s Processing Resource:: CPU Component: t Step::y ResAcq:: Step::x2 ResRel:: ResAcq::

The PUMA project 29 June 2004 Toqeer A Israr page 12 Status Accomplished Created UML 2.0 diagrams in Eclipse  programmatic approach using UML2 plug-in Defined & applied the UML Performance Profile Work In Progress Implementation of the transformation rules from sequence and deployment diagrams to CSM Testing / Validation Future Work Express the above transformation in MOF QVT, if possible