Top Banner
1 Getting Service Engineering Right UML 2 in a nushell Based on a paper by Birger Møller-Pedersen, Øystein Haugen, Thomas Weigert.
21

1 Getting Service Engineering Right UML 2 in a nushell Based on a paper by Birger Møller-Pedersen, Øystein Haugen, Thomas Weigert.

Mar 30, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 1 Getting Service Engineering Right UML 2 in a nushell Based on a paper by Birger Møller-Pedersen, Øystein Haugen, Thomas Weigert.

1

Getting Service Engineering Right

UML 2 in a nushell

Based on a paper by Birger Møller-Pedersen, Øystein Haugen, Thomas Weigert.

Page 2: 1 Getting Service Engineering Right UML 2 in a nushell Based on a paper by Birger Møller-Pedersen, Øystein Haugen, Thomas Weigert.

2

Getting Service Engineering Right

The Acess System Domain: a class diagram

Note there are no partsi.e. instances here

Page 3: 1 Getting Service Engineering Right UML 2 in a nushell Based on a paper by Birger Møller-Pedersen, Øystein Haugen, Thomas Weigert.

3

Getting Service Engineering Right

The context as a Collaboration

Role

Connector

multiplicity

Note there are no classes here, only a structure of part properties called roles!

Page 4: 1 Getting Service Engineering Right UML 2 in a nushell Based on a paper by Birger Møller-Pedersen, Øystein Haugen, Thomas Weigert.

4

Getting Service Engineering Right

4

Collaboration diagrams

Service

roleA:TypeA

roleC:TypeC

roleB:TypeBsession1:Session

session2: Session

session3: Session

roleX roleY

roleX

roleY roleX

roleY

A collaboration with three roles and three collaboration uses:

• may define a service structure

Session

roleX:TypeX roleY:TypeY

A collaboration with two roles:•may define a semantic connector

•TypeA must be compatible with (the semantic interface) TypeX•Compatibility means that the role behaviours must be contained in the total behaviour of the actor – how is a semantic variation point in UML2

Page 5: 1 Getting Service Engineering Right UML 2 in a nushell Based on a paper by Birger Møller-Pedersen, Øystein Haugen, Thomas Weigert.

5

Getting Service Engineering Right

5

Behaviour can be in three places:– The collaboration itself

– The roles

– The context (scope) of the collaboration:

Service

roleA:typeA

roleC:typeC

roleB:typeBsession1:Session

session2: Session

session3: Session

roleX roleY

roleX

roleYroleX

roleY

sd

1

3 2

sd

1

3 2

Page 6: 1 Getting Service Engineering Right UML 2 in a nushell Based on a paper by Birger Møller-Pedersen, Øystein Haugen, Thomas Weigert.

6

Getting Service Engineering Right

The Taxi System with interfaces bound as collaboration uses

This is a composite class with parts.Each part shall satisfy the roles bound to it

Page 7: 1 Getting Service Engineering Right UML 2 in a nushell Based on a paper by Birger Møller-Pedersen, Øystein Haugen, Thomas Weigert.

7

Getting Service Engineering Right

Collaborations for interface definitions

Reusable definitions not bound to a system

Page 8: 1 Getting Service Engineering Right UML 2 in a nushell Based on a paper by Birger Møller-Pedersen, Øystein Haugen, Thomas Weigert.

8

Getting Service Engineering Right

A composite class: the AC system

Part

Port

Connector

Page 9: 1 Getting Service Engineering Right UML 2 in a nushell Based on a paper by Birger Møller-Pedersen, Øystein Haugen, Thomas Weigert.

9

Getting Service Engineering Right

Entry

Page 10: 1 Getting Service Engineering Right UML 2 in a nushell Based on a paper by Birger Møller-Pedersen, Øystein Haugen, Thomas Weigert.

10

Getting Service Engineering Right

Console and Access point

Page 11: 1 Getting Service Engineering Right UML 2 in a nushell Based on a paper by Birger Møller-Pedersen, Øystein Haugen, Thomas Weigert.

11

Getting Service Engineering Right

State machine Panel

Page 12: 1 Getting Service Engineering Right UML 2 in a nushell Based on a paper by Birger Møller-Pedersen, Øystein Haugen, Thomas Weigert.

12

Getting Service Engineering Right

Alternatively

Page 13: 1 Getting Service Engineering Right UML 2 in a nushell Based on a paper by Birger Møller-Pedersen, Øystein Haugen, Thomas Weigert.

13

Getting Service Engineering Right

Entry and exit

Page 14: 1 Getting Service Engineering Right UML 2 in a nushell Based on a paper by Birger Møller-Pedersen, Øystein Haugen, Thomas Weigert.

14

Getting Service Engineering Right

Using entry and exit

Page 15: 1 Getting Service Engineering Right UML 2 in a nushell Based on a paper by Birger Møller-Pedersen, Øystein Haugen, Thomas Weigert.

15

Getting Service Engineering Right

A Sequence diagram

Timeline Message

Page 16: 1 Getting Service Engineering Right UML 2 in a nushell Based on a paper by Birger Møller-Pedersen, Øystein Haugen, Thomas Weigert.

16

Getting Service Engineering Right

Combined fragments

Combined Fragment

ContinuationContinuation

Combined Fragment

Decomposition

Page 17: 1 Getting Service Engineering Right UML 2 in a nushell Based on a paper by Birger Møller-Pedersen, Øystein Haugen, Thomas Weigert.

17

Getting Service Engineering Right

User Access

Page 18: 1 Getting Service Engineering Right UML 2 in a nushell Based on a paper by Birger Møller-Pedersen, Øystein Haugen, Thomas Weigert.

18

Getting Service Engineering Right

Pin Change

Page 19: 1 Getting Service Engineering Right UML 2 in a nushell Based on a paper by Birger Møller-Pedersen, Øystein Haugen, Thomas Weigert.

19

Getting Service Engineering Right

New User

Page 20: 1 Getting Service Engineering Right UML 2 in a nushell Based on a paper by Birger Møller-Pedersen, Øystein Haugen, Thomas Weigert.

20

Getting Service Engineering Right

Decomposition

Page 21: 1 Getting Service Engineering Right UML 2 in a nushell Based on a paper by Birger Møller-Pedersen, Øystein Haugen, Thomas Weigert.

21

Getting Service Engineering Right

Another example