Book a Demo

Author Topic: What is the Diff b/w a Lifeline and an Object  (Read 5056 times)

GraemeR

  • EA Novice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
What is the Diff b/w a Lifeline and an Object
« 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.

TrtnJohn

  • EA User
  • **
  • Posts: 176
  • Karma: +0/-0
    • View Profile
Re: What is the Diff b/w a Lifeline and an Object
« Reply #1 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.

thomaskilian

  • Guest
Re: What is the Diff b/w a Lifeline and an Object
« Reply #2 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.