transformation of scenarios represented in uml 2 0 sequence diagrams to csm
Download
Skip this Video
Download Presentation
Transformation of Scenarios represented in UML 2.0 Sequence Diagrams to CSM

Loading in 2 Seconds...

play fullscreen
1 / 12

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


  • 295 Views
  • Uploaded on

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.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
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

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

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

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

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

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

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

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

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

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