Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » How to find out that a message is delayed
How to find out that a message is delayed [message #921564] Mon, 24 September 2012 08:20 Go to next message
Alfredo Motta is currently offline Alfredo MottaFriend
Messages: 41
Registered: June 2012
Member
Hello everybody,

I have this toy sequence diagram with one delayed message.
I was looking at the corresponding model and the API and it seems
that there is no way, just looking at the model, to understand that
the message is actually delayed and not an horizontal one

Anyone can help?
Thanks
  • Attachment: sequencediagram.PNG
    (Size: 15.51KB, Downloaded 86 times)
  • Attachment: model.PNG
    (Size: 16.41KB, Downloaded 86 times)
  • Attachment: model.uml
    (Size: 3.31KB, Downloaded 73 times)
Re: How to find out that a message is delayed [message #921636 is a reply to message #921564] Mon, 24 September 2012 09:41 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 4154
Registered: July 2009
Senior Member
Hi

A partial answer to both your queries.

I know just about nothing about the details of these diagrams, so when I
saw UML 2.5 simplification team discussion on them I took little notice;
however my limited recollection is that the rewriting associated with
the simplification highlighted a number of limitations. You might want
to take a look at http://www.omg.org/cgi-bin/doc?ad/12-08-01 and see if
it helps. (I'm not sure if non-OMG members have access yet - you'll soon
find out.)

Regards

Ed Willink


On 24/09/2012 09:20, Alfredo Motta wrote:
> Hello everybody,
>
> I have this toy sequence diagram with one delayed message.
> I was looking at the corresponding model and the API and it seems
> that there is no way, just looking at the model, to understand that
> the message is actually delayed and not an horizontal one
>
> Anyone can help?
> Thanks
Re: How to find out that a message is delayed [message #923689 is a reply to message #921564] Wed, 26 September 2012 05:30 Go to previous message
Rafael Chaves is currently offline Rafael ChavesFriend
Messages: 161
Registered: July 2009
Senior Member
Note the attribute messageSort="asynchCall":

<message xmi:id="..." name="Message" messageSort="asynchCall" receiveEvent="..." sendEvent="..." signature="..."/>

From the spec (section 14.3.22):

Quote:
MessageSort is an enumeration of the following values:
• synchCall - The message was generated by a synchronous call to an operation.
• asynchCall - The message was generated by an asynchronous call to an operation (i.e., a CallAction with
"isSynchronous = false").
• asynchSignal - The message was generated by an asynchronous send action.
• createMessage - The message designating the creation of another lifeline object.
• deleteMessage - The message designating the termination of another lifeline.
• reply - The message is a reply message to an operation call.




Previous Topic:OwnedComment vs. annotatedElement
Next Topic:Design Pattern retrieval using Uml Profile
Goto Forum:
  


Current Time: Fri Nov 28 06:16:07 GMT 2014

Powered by FUDForum. Page generated in 0.01600 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software