|
Re: Sequence Diagram Messages [message #478573 is a reply to message #478571] |
Wed, 01 July 2009 07:45 |
Timothy Marc Messages: 547 Registered: July 2009 |
Senior Member |
|
|
Mary,
the ordering of the messages in an interaction is determined by the
elements MessageOccurrenceSpecification(MOS), which represent the
sending and receiving of a message.
Each MOS contains exactly one association to an Event
(SendOperationEvent, SendSignalEvent, etc.), that represents the kind of
message event. So, the ordering depends on the ordering of the MOS. If
you want to add to message as the first message afterwards, you have r
create not only the message, but also the corresponding occurrence
specifications.
HTH
Timothy
mary schrieb:
> Hi, How can we add a message to an existing Interaction. I checked the
> metamodel for the element Message and I can't find which attribute is
> responsible to define the source and target of the message.
> For example in State Machine if you want to create a transition there is
> an attribute source and target that specify the two ends of the
> transition.. How can we do that in sequence diagrams?
>
> Also which element/attribute is responsible to specify the position of
> the message in the interaction diagram.. (i.e. first message in a
> specific lifeline or the second..etc)
>
> Thanks.
>
>
|
|
|
|
|
|
|
|
Re: Sequence Diagram Messages [message #627755 is a reply to message #478571] |
Wed, 01 July 2009 07:45 |
Timothy Marc Messages: 547 Registered: July 2009 |
Senior Member |
|
|
Mary,
the ordering of the messages in an interaction is determined by the
elements MessageOccurrenceSpecification(MOS), which represent the
sending and receiving of a message.
Each MOS contains exactly one association to an Event
(SendOperationEvent, SendSignalEvent, etc.), that represents the kind of
message event. So, the ordering depends on the ordering of the MOS. If
you want to add to message as the first message afterwards, you have r
create not only the message, but also the corresponding occurrence
specifications.
HTH
Timothy
mary schrieb:
> Hi, How can we add a message to an existing Interaction. I checked the
> metamodel for the element Message and I can't find which attribute is
> responsible to define the source and target of the message.
> For example in State Machine if you want to create a transition there is
> an attribute source and target that specify the two ends of the
> transition.. How can we do that in sequence diagrams?
>
> Also which element/attribute is responsible to specify the position of
> the message in the interaction diagram.. (i.e. first message in a
> specific lifeline or the second..etc)
>
> Thanks.
>
>
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05231 seconds