Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - abstractNomad

Pages: [1]
Uml Process / On sequence diagrams and object lifecycles
« on: May 20, 2005, 04:11:10 am »

(probably a few basic questions (from a newbie), nevertheless, here goes):

I'm trying to model components initialization in sequence diagramas, and I've been struggling with the following:
-suppose you have object A wich creates object B, by sending it the "New" message.
-should object A send any message to object B, and object B becomes "marked to die" (little cross that terminates object B's lifeline) within this very same sequence diagram.
-I've tryed to avoid this, by making object B send any message to object A. I've also tried "extend source activation" on this message.
-the only (undesireable) solution is to remove, from the original message sent by object A to object B, the "New" feature from the message's lifecycle. Yet, this (unfortunately) removes the foccus on object B's creation being triggered by object A.

No luck so far.

Another question: should I want to depict the value of an object's attribute in a sequence diagram, how can I do it? Is it UML 2.0 compliant?

Thanks for reading.

Looking forward for your replies.

Joćo Baptista

Pages: [1]