• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: awakeFromInsertion quick question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: awakeFromInsertion quick question


  • Subject: Re: awakeFromInsertion quick question
  • From: Chuck Hill <email@hidden>
  • Date: Tue, 7 Feb 2006 14:58:16 -0800

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@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net


This email sent to email@hidden

--
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@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >awakeFromInsertion quick question (From: Miguel Arroz <email@hidden>)

  • Prev by Date: awakeFromInsertion quick question
  • Next by Date: Re: EOModeler and OpenLDAP on OS X Server
  • Previous by thread: awakeFromInsertion quick question
  • Next by thread: WebObjects and Oracle and Openbase
  • Index(es):
    • Date
    • Thread