Message order in UML 2.0 sequence diagrams [message #662800] |
Fri, 01 April 2011 01:48 |
Thiago Figueredo Cardoso Messages: 5 Registered: March 2011 |
Junior Member |
|
|
This is more a UML doubt, but I'm beginning to think this is tool-specific, so you might have a clue.
How the order of the messages is modeled in UML 2.0 sequence diagrams?
I've browsed the UML 2.2 Superstructure specification and the only structure I found to model order is the GeneralOrdering class. I'm modeling my system with Papyrus, but it doesn't insert message ordering information automatically, so I miss guidelines on the use of this class.
I had the idea to test other tools and check the XMI output, but those that exported the sequence diagram properly used proprietary extensions to model message order. I tried Umodel, astah*, Enterprise Architect, PowerDesigner, Software Ideas Modeler and Visual Paradigm.
Any hint?
--
Thiago Figueredo
|
|
|
Re: Message order in UML 2.0 sequence diagrams [message #662843 is a reply to message #662800] |
Fri, 01 April 2011 08:19 |
Eclipse User |
|
|
|
Originally posted by: koen.yskout.cs.kuleuven.be
I'm not sure about the specifics of Papyrus, but in the UML
specification, the 'fragments' relationship from Interaction to
InteractionFragment is ordered (Figure 14.3), so that determines the
order of the messages.
The sending and receiving of a message are separate instances of
OccurrenceSpecification (which is a specialization of
InteractionFragment). Because messages (in principle) can cross each
other (e.g., Figure 14.16) this requires separate ordering of send and
receive events, even though I think this crossing is not always
supported by UML tools.
In practice, this would mean that the order of the occurrences can be
found in the semantic model (.uml file) using the 'fragments' feature of
the enclosing Interaction.
The GeneralOrdering that you mentioned can be used to place explicit
constraints on the required order of two occurrences, but I think that
is not what you're after.
(Disclaimer: this is my interpretation of the UML standard, so I might
be wrong, and I don't know what the different tools you mention do to
store their ordering).
On 01/04/11 03:48, Thiago Figueredo Cardoso wrote:
> This is more a UML doubt, but I'm beginning to think this is
> tool-specific, so you might have a clue.
>
> How the order of the messages is modeled in UML 2.0 sequence diagrams?
>
> I've browsed the UML 2.2 Superstructure specification and the only
> structure I found to model order is the GeneralOrdering class. I'm
> modeling my system with Papyrus, but it doesn't insert message ordering
> information automatically, so I miss guidelines on the use of this class.
>
> I had the idea to test other tools and check the XMI output, but those
> that exported the sequence diagram properly used proprietary extensions
> to model message order. I tried Umodel, astah*, Enterprise Architect,
> PowerDesigner, Software Ideas Modeler and Visual Paradigm.
>
> Any hint?
>
> --
> Thiago Figueredo
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03456 seconds