Transformation of Scenarios represented in UML 2.0 Sequence Diagrams to CSM - PowerPoint PPT Presentation

Transformation of scenarios represented in uml 2 0 sequence diagrams to csm l.jpg
Download
1 / 12

  • 271 Views
  • Uploaded on
  • Presentation posted in: Pets / Animals

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/. Conceptual High Level View.

I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.

Download Presentation

Transformation of Scenarios represented in UML 2.0 Sequence Diagrams to CSM

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Transformation of scenarios represented in uml 2 0 sequence diagrams to csm l.jpg

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/


Conceptual high level view l.jpg

Conceptual High Level View

Create Input

Output

Eclipse

Eclipse

Eclipse

Navigate annotated

UML model

Apply

Profile

Java

Create UML 2.0

model represented

as internal data

structure

Annotated model

with performance

annotations

Generate CSM

objects(in Java)

XMI

XMI

XML


Simple interaction diagram l.jpg

Simple Interaction Diagram

Message

Interaction

sd S

s:CA

t:CB

Lifeline

EventOccurrence

(receiving)

m1

Gate

Event

Occurrence

Execution

Occurrence

Event

Occurrence

(sending)


Complex interaction diagram l.jpg

ref

ref

EstablishAccess(“Illegal PIN”)

OpenDoor

Complex Interaction Diagram

sd C

User

:System

Interaction

Occurrence

CardOut

opt

msg(“Please Enter”)

Combined

Fragment


Synchronous message between passive objects l.jpg

sd S1

.

.

.

.

.

.

s:CA

t:CB

Step::x1’

.

.

.

.

.

.

.

.

.

Step::x1

Seq

Step::x1

x1’

Step::x2

Seq

m1

Step::x2

x1

x2

Step::x2

Seq

.

.

.

x1”

.

.

.

Step::x1”

Notation:

Seq

.

.

.

Synchronous message between passive objects


Synchronous message between objects stereotyped paresource l.jpg

sd S2

<<PAresource>>

s:CA

<<PAresource>>

t:CB

.

.

.

.

.

.

m1

x1

x2

Synchronous Message between objects stereotyped <<Paresource>>

Component s was acquired before x1

Processing

Resource::

CPU

.

.

.

Processing

Resource::

CPU

Component:

s

Step::x1

ResAcq::

Component:

t

Step:x2

ResRel::

.

.

.


Asynchronous message l.jpg

sd SA

Step::x1’

s:CA

t:CB

Fork

x1’

Step:x2

Step:x1”

m1

x1

x1’’

x2

Step::x1

Fork

Step:x2

.

.

.

Asynchronous Message


Asynchronous message cont l.jpg

Step::x1’

Fork

Step:x3

Step:x2

Asynchronous Message (cont)

sd SA

s:CA

t:CB

m1

x1

m2

x2

x3


Asynchronous message between components stereotyped paresource l.jpg

x1

x2

x3

Asynchronous message between components stereotyped <<PAresource>>

sd SA2

Component s was acquired before x1

<<PAresource>>

s:CA

<<PAresource>>

t:CB

Processing

Resource::

CPU

.

.

.

.

.

.

.

.

.

Step::x1

Component:

s

m1

Processing

Resource::

CPU

m2

Fork

Step:x2

ResAcq::

Component:

t

.

.

.

Step:x3

.

.

.


Interaction diagram combined fragment l.jpg

sd CF

x2

x3

x1

x4

Interaction Diagram – Combined Fragment

Component s was acquired before x1

Processing

Resource::

CPU

.

.

.

s:CA

t:CB

Step::x1

m1

ResAcq::

Component:

s

Step::x2

alt

value > 0

m2

ResRel::

Branch

ResAcq::

ResAcq::

[else]

m3

Step::x3

Step::x3

Component:

t

ResRel::

ResRel::

.

.

.

.

.

.

Processing

Resource::

CPU


Interaction diagram interaction occurrence l.jpg

sd IO

.

.

.

Processing

Resource::

CPU

s:CA

t:CB

Step::x1

Processing

Resource::

CPU

m1

ResRel::

x2

Component:

t

ResAcq::

x1

ref

Step::x2

y

Component:

s

ResRel::

ResAcq::

Step::y

.

.

.

Interaction Diagram – Interaction Occurrence


Status l.jpg

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

Status


  • Login