Presentation is loading. Please wait.

Presentation is loading. Please wait.

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.

Similar presentations


Presentation on theme: "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."— Presentation transcript:

1 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 www.sce.carleton.ca/rads/puma/

2 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

3 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

4 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

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

6 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 m1............ > s:CA x1 x2............ Component s was acquired before x1

7 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:x2......

8 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

9 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 x1..................

10 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

11 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::............

12 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


Download ppt "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."

Similar presentations


Ads by Google