• 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
eogen takeStoredValueForKey(toManyArray, relationshipName)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
email@hidden
 _______________________________________________
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

  • Follow-Ups:
    • Re: eogen takeStoredValueForKey(toManyArray, relationshipName)
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: How to determine what component the action came from?
  • Next by Date: Re: How to determine what component the action came from?
  • Previous by thread: Re: How to determine what component the action came from?
  • Next by thread: Re: eogen takeStoredValueForKey(toManyArray, relationshipName)
  • Index(es):
    • Date
    • Thread