Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Sequence Diagram
Sequence Diagram [message #478364] Wed, 06 May 2009 16:41 Go to next message
Samuel is currently offline Samuel
Messages: 31
Registered: July 2009
Member
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
Timothy Marc is currently offline Timothy Marc
Messages: 547
Registered: July 2009
Senior Member
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
Samuel is currently offline Samuel
Messages: 31
Registered: July 2009
Member
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
Timothy Marc is currently offline Timothy Marc
Messages: 547
Registered: July 2009
Senior Member
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
Timothy Marc is currently offline Timothy Marc
Messages: 547
Registered: July 2009
Senior Member
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
Samuel is currently offline Samuel
Messages: 31
Registered: July 2009
Member
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
Timothy Marc is currently offline Timothy Marc
Messages: 547
Registered: July 2009
Senior Member
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: Mon Sep 01 03:45:58 EDT 2014

Powered by FUDForum. Page generated in 0.02069 seconds