eogen takeStoredValueForKey(toManyArray, relationshipName)
eogen takeStoredValueForKey(toManyArray, relationshipName)
- Subject: eogen takeStoredValueForKey(toManyArray, relationshipName)
- From: Dan Faber <email@hidden>
- Date: Mon, 2 Mar 2009 20:09:55 -0700
I have noticed that the default _wonder.java template does not produce a method to assign an array to a toMany relationship, as:
public void setMyMany(NSArray value) { takeStoredValueForKey(value, "myMany"); }
Is there a problem with doing so? Should I change my method to delete all the current relationships, and then loop through the updated array and use "addTo${relationship.capitalizedName}" instead?
Thanks
Dan Faber |
_______________________________________________
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