FYI.
Dr. Sébastien Gérard
Head of MDD for DRES
research project
CEA LIST, Laboratoire d’Ingénierie dirigée
par les modèles pour les Systèmes Embarqués (LISE)
Boîte courrier 94, GIF SUR YVETTE
CEDEX, F-91191 France
Phone/fax : +33 1 69 08 58
24 / 83 95
Leader of the Eclipse Component
Papyrus (The UML2 Graphical Modeler): www.papyrusuml.org
http://www.eclipse.org/modeling/mdt/?project=papyrus
Before printing, think
about the environment
De :
bran.selic@xxxxxxxxx [mailto:bran.selic@xxxxxxxxx] De la part de Bran Selic
Envoyé : mardi 9 mars 2010
08:11
À : Chonoles, Michael J
Cc : James Bruck;
model-interchange@xxxxxxx; uml2-rtf@xxxxxxx
Objet : Re: Message sequences
Why don't we just modify
the metamodel to allow the inclusion of sequence numbers? These could be either
automatically generated -- based on a some agreed-on algorithm -- or user
controlled, depending on preference. As it currently stands, these numbers need
to be synthesized by tool builders and there is no guarantee that different
tools will come up with the same numbering scheme.
Cheers...Bran
On Mon, Mar 8, 2010 at 5:34 PM, Chonoles, Michael J <michael.j.chonoles@xxxxxxxx>
wrote:
They really don’t show the same thing.
However, if all the messages in the sequence diagram are synchronous, that is
the sender acts as a caller and waits for a response, and no messages cross
each other, a unique numbering can be determined.
Michael
Hi Michael,
Thanks for the
quick reply.
If I'm not
mistaken, in order to create a communication diagram, we need to figure out the
order of messages based on semantic information in the user model.
The sequence
diagram is created from the same semantic information, could/should it not
therefore display the same sequence _expression_?
Cheers,
- James.
![cid:image001.gif@01CABEE4.BDAEC950](gifv8aegXFi9Y.gif)
|
|
|
Generally, on sequence diagrams, the order the messages
are sent need not be in the numerical order (because each lifeline is
independently sequenced)
Michael Chonoles
LMCO
From: James Bruck [mailto:jbruck@xxxxxxxxxx]
Sent: Monday, March 08, 2010 1:59 PM
To: model-interchange@xxxxxxx;
uml2-rtf@xxxxxxx
Subject: Message sequences
At the XMI interchange meeting today there was some discussion about the
numbering of messages on sequence diagrams.
The spec seems a little vague in this area. Although the spec
doesn't seem to mention message numbering in the secion on Sequence diagrams,
there is discussion of "Sequence _expression_" in section 14.4 in the Communication
diagram section.
I would like to get some official guidance on:
1. What are the exact rules involved in calculating message sequences.
How should we number messages within combined fragments etc.
Currently, I think each vendor has his own slightly
different numbering scheme.
2. Should the sequence numbers be shown on sequence diagrams in addition to
communication diagrams?
If "yes", then the spec. should be
updated.
If "no" then why not (considering that
they are shown on communcation diagrams)?
Any guidance in this area would be appreciated.
Regards,
- James.
|