[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.uml2] Re: Order of Messages on Interaction

Hi Leila,

I'm not familiar with Magic draw but from a UML perspective, the order of
lifelines, messages or events within interactions cannot be guaranteed.
That is to say that they can occur in any order and still be part of a valid
model.
The only way you can draw conclusions about ordering of messages is by
finding out the OccurrenceSpecifications that the message refer to.
OccurrenceSpecifications would be placed in the fragments collection of the
interaction and that collection is ordered.   The OccurrenceSpecifications
refer to events.

Cheers,

- James.




"Leila" <lnaslavsky@xxxxxxxxxxx> wrote in message
news:55cb6509075ebfb81ec40ddda696bd04$1@xxxxxxxxxxxxxxxxxx
> Hi All,
> I'm using MagicDraw (and/or Poseidon) to create models (class diagram and
> sequence diagrams).
> I''m exporting the models created to EMF UML2.
> When I open these files with eclipse UML2 editor, I observe that the
> lifelines, messages, and events (in the interaction element) are not in
> the right order (the sequence diagram has ordered messages).
>
> I need to know how to infer the original (sequence diagram) order from the
> xmi (uml2) they export.
>
> Could anyone help me with this?
>
> Thanks!
>
> Leila
>
>