Skip to main content



      Home
Home » Modeling » UML2 » Sequence Diagram
Sequence Diagram [message #478364] Wed, 06 May 2009 16:41 Go to next message
Eclipse UserFriend
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 #478367 is a reply to message #478364] Thu, 07 May 2009 04:55 Go to previous messageGo to next message
Eclipse UserFriend
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 #478384 is a reply to message #478367] Tue, 12 May 2009 11:03 Go to previous messageGo to next message
Eclipse UserFriend
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 #478394 is a reply to message #478384] Wed, 13 May 2009 16:31 Go to previous message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
>
>
Previous Topic:Operations in sequence diagrams
Next Topic:problems with pathmap
Goto Forum:
  


Current Time: Fri Jul 04 20:57:36 EDT 2025

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

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

Back to the top