Re: EOGenerator Relationships
Re: EOGenerator Relationships
- Subject: Re: EOGenerator Relationships
- From: Florijan Stamenkovic <email@hidden>
- Date: Wed, 17 Sep 2008 12:44:13 -0400
On Sep 17, 2008, at 12:02, Michael Kondratov wrote:
There is no setInvoiceStatus in _Invoice. Only
setInvoiceStatusRelationship.
See what Mike was just saying...
Now, I assume that _Invoice.setInvoiceStatusRelationship gets
called first and in turn calls Invoice.setInvoiceStatus .
Is that correct?
Yes, the stack trace would look like this:
EOCustomObject.takeStoredValueForKey(value, "invoiceStatus")
Invoice.setInvoiceStatus(value)
EOCustomObject.takeValueForKey(value, "invoiceStatus")
EOCustomObject.addObjectToBothSidesOfRelationshipWithKey(value,
"invoiceStatus")
_Invoice.setInvoiceStatusRelationship(value)
F
_______________________________________________
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