• 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: JavaEOGenerator: alphabetical sorting?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JavaEOGenerator: alphabetical sorting?


  • Subject: Re: JavaEOGenerator: alphabetical sorting?
  • From: Art Isbell <email@hidden>
  • Date: Wed, 2 Jan 2008 12:20:47 -1000

On Jan 2, 2008, at 5:46 AM, Alexander Spohr wrote:

is JavaEOGenerator capable of sorting arrays alphabetical?

Not without JavaEOGenerator source modification.

I (used to) generate methods with attribute-names as args.
EOGenerator knew about <$foreach Attribute classAttributes.@sortedNameArray do$>
How can I do this with JavaEOGenerator?

I modified all EOEntityProxy methods that return arrays of properties to return arrays of properties sorted descending by property name. An alternative would have been to create new methods that return sorted arrays (e.g., sortedClassAttributes()).


Aloha,
Art

_______________________________________________
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: JavaEOGenerator: alphabetical sorting?
      • From: David LeBer <email@hidden>
References: 
 >JavaEOGenerator: alphabetical sorting? (From: Alexander Spohr <email@hidden>)

  • Prev by Date: Re: Date-Only NSTimestamps
  • Next by Date: Re: JavaEOGenerator: alphabetical sorting?
  • Previous by thread: Re: JavaEOGenerator: alphabetical sorting?
  • Next by thread: Re: JavaEOGenerator: alphabetical sorting?
  • Index(es):
    • Date
    • Thread