Sequence Diagram [message #478364] |
Wed, 06 May 2009 16:41  |
Eclipse User |
|
|
|
Hi,
What exactly are the semantics of the lifeline "represents" association as
described in the UML2 superstructure specification of sequence diagrams?
Does it refer to the object a lifeline represents? And what else than
ports and properties can a lifeline represent?
Thanks.
Samuel
|
|
|
|
|
Re: Sequence Diagram [message #478394 is a reply to message #478384] |
Wed, 13 May 2009 16:31  |
Eclipse User |
|
|
|
Samuel,
lifelines are instances of classifiers. Since an actor is a classifier,
as well as component, you can of course let the lifeline represent one
of them.
Sequence diagram are commonly embedded in a Collaboration, which can
have propertys, and the lifeline commonly represents one of this
properties.
Another way is to create a port inside the classifier, which you want
the lifeline to represent. Than, you can directly point to this port.
HTH
Timothy
Samuel schrieb:
> Hi Timothy,
>
> Thanks for your reply. I don't know if this is completely besides the
> point but is there a way to make a lifeline represent something as an
> actor or a component instance? Or is that done through a 'property'.
>
> Samuel
>
>
|
|
|
Re: Sequence Diagram [message #627553 is a reply to message #478364] |
Thu, 07 May 2009 04:55  |
Eclipse User |
|
|
|
Samuel,
yes, you are right. A lifeline represents an instance of a type,
expressed by a property of the surrounding Collaboration or a port,
which is contained by the classifier, the lifeline represents.
A lifeline can represent any ConnectableElement. I know only the very
few for me relevant Elements like Port, Property, Variable and Parameter
as subtypes of ConnectableElement.
Regards
Timothy
Samuel schrieb:
> Hi,
>
> What exactly are the semantics of the lifeline "represents" association
> as described in the UML2 superstructure specification of sequence
> diagrams? Does it refer to the object a lifeline represents? And what
> else than ports and properties can a lifeline represent?
>
> Thanks.
>
> Samuel
>
|
|
|
Re: Sequence Diagram [message #627571 is a reply to message #478367] |
Tue, 12 May 2009 11:03  |
Eclipse User |
|
|
|
Hi Timothy,
Thanks for your reply. I don't know if this is completely besides the
point but is there a way to make a lifeline represent something as an
actor or a component instance? Or is that done through a 'property'.
Samuel
|
|
|
Re: Sequence Diagram [message #627581 is a reply to message #478384] |
Wed, 13 May 2009 16:31  |
Eclipse User |
|
|
|
Samuel,
lifelines are instances of classifiers. Since an actor is a classifier,
as well as component, you can of course let the lifeline represent one
of them.
Sequence diagram are commonly embedded in a Collaboration, which can
have propertys, and the lifeline commonly represents one of this
properties.
Another way is to create a port inside the classifier, which you want
the lifeline to represent. Than, you can directly point to this port.
HTH
Timothy
Samuel schrieb:
> Hi Timothy,
>
> Thanks for your reply. I don't know if this is completely besides the
> point but is there a way to make a lifeline represent something as an
> actor or a component instance? Or is that done through a 'property'.
>
> Samuel
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.06399 seconds