Sparx Systems Forum
Enterprise Architect => Uml Process => Topic started 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.
-
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.
-
True. Also you can't change the element type of a lifeline which you can for objects.