Sparx Systems Forum

Enterprise Architect => Uml Process => Topic started by: GraemeR on July 26, 2004, 07:42:00 pm

Title: What is the Diff b/w a Lifeline and an Object
Post by: GraemeR on July 26, 2004, 07:42:00 pm
In the context of a Sequence Diagram.

What is the difference between the use of LifeLines and Objects.

Both seem to be very similar in operation.

Why would one be chosen over the other?

Cheers Graeme.
Title: Re: What is the Diff b/w a Lifeline and an Object
Post by: TrtnJohn on August 09, 2004, 05:12:30 pm
A lifeline can be used as a general placeholder when there is no classifier for the object.  The intention of sequence diagrams are to model interactions between objects.  So, unless you are modeling something that doesn't have any classes already defined, I'd recommend always using an object.
Title: Re: What is the Diff b/w a Lifeline and an Object
Post by: thomaskilian on August 11, 2004, 03:27:46 am
True. Also you can't change the element type of a lifeline which you can for objects.