Yes, that is the appropriate place for this. In fact, that is what EOF does when you call super.awakeFromInsertion() for mandatory, owned, to-one relationships. Just be sure to call super.awakeFromInsertion before doing anything to the object and be aware that super may have created objects / or altered values.

Chuck

On Feb 7, 2006, at 2:56 PM, Miguel Arroz wrote:

Hi!

Just something that is bugging me... I know that some methods (like the validate methods on EO objects) should NOT modify the object graph during their execution. What I want to know is if awakeFromInsertion is one of those methods. Is it safe to modify the graph during that method execution, specifically creating another object and assigning it to a slot of the first object (the awakeFromInsertion's "this").

  Yours

Miguel Arroz

      "I felt like putting a bullet between
       the eyes of every Panda that wouldn't
       scr*w to save its species."       -- Fight Club

Miguel Arroz
http://www.ipragma.com



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/chill% 40global-village.net

This email sent to [EMAIL PROTECTED]

--
Coming in 2006 - an introduction to web applications using WebObjects and Xcode http://www.global-village.net/wointro

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to