Loading in 5 sec....

Transformation of Scenarios represented in UML 2.0 Sequence Diagrams to CSMPowerPoint Presentation

Transformation of Scenarios represented in UML 2.0 Sequence Diagrams to CSM

- 295 Views
- Uploaded on

Download Presentation
## PowerPoint Slideshow about 'Transformation of Scenarios represented in UML 2.0 Sequence Diagrams to CSM' - PamelaLan

**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

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 Diagrams to CSM

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 Diagrams to CSM

Message

Interaction

sd S

s:CA

t:CB

Lifeline

EventOccurrence

(receiving)

m1

Gate

Event

Occurrence

Execution

Occurrence

Event

Occurrence

(sending)

ref Diagrams to CSM

ref

EstablishAccess(“Illegal PIN”)

OpenDoor

Complex Interaction Diagramsd C

User

:System

Interaction

Occurrence

CardOut

opt

msg(“Please Enter”)

Combined

Fragment

sd S1 Diagrams to CSM

.

.

.

.

.

.

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 objectssd S2 Diagrams to CSM

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

.

.

.

sd SA Diagrams to CSM

Step::x1’

s:CA

t:CB

Fork

x1’

Step:x2

Step:x1”

m1

x1

x1’’

x2

Step::x1

Fork

Step:x2

.

.

.

Asynchronous MessageStep::x1 Diagrams to CSM’

Fork

Step:x3

Step:x2

Asynchronous Message (cont)sd SA

s:CA

t:CB

m1

x1

m2

x2

x3

x1 Diagrams to CSM

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

.

.

.

sd CF Diagrams to CSM

x2

x3

x1

x4

Interaction Diagram – Combined FragmentComponent 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

sd IO Diagrams to CSM

.

.

.

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 OccurrenceAccomplished Diagrams to CSM

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
Download Presentation

Connecting to Server..