• 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: Sorting to many relationship
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sorting to many relationship


  • Subject: Re: Sorting to many relationship
  • From: Alexander Spohr <email@hidden>
  • Date: Sun, 4 May 2008 18:02:40 +0200


EOSortOrdering.sortedArrayUsingKeyOrderArray(results, sortOrderings)

If you use the eclipse-EOGenerator, you could generate methods like this:

public com.webobjects.foundation.NSArray<com.assense.account.eo.Address> addressArray(com.webobjects.eocontrol.EOQualifier qualifier, com .webobjects .foundation.NSArray<com.webobjects.eocontrol.EOSortOrdering> sortOrderings, boolean fetch)


atze


Am 04.05.2008 um 07:07 schrieb Steve Peery:

What is the typical way to sort a to many relationship created with Entity
Modeler? For example, in my School object I have a to many relationship of
Student objects that I want sorted by Student.name().


Steve


_______________________________________________ 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

--- Alexander Spohr Freeport & Soliversum

Fax: +49 40 303 757 99
Web: http://www.freeport.de/
Box: http://dropbox.letsfile.com/02145299-4347-4671-aab9-1d3004eac51d
---



_______________________________________________
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: 
 >Sorting to many relationship (From: Steve Peery <email@hidden>)

  • Prev by Date: Re: How to get rid of ?wosid=
  • Next by Date: Re: Openning an extra window on button click
  • Previous by thread: Sorting to many relationship
  • Next by thread: ERPPieChart - items, nameKey, valueKey were already bound, but eclipse still warning
  • Index(es):
    • Date
    • Thread