Re: JavaEOGenerator: alphabetical sorting?
Re: JavaEOGenerator: alphabetical sorting?
- Subject: Re: JavaEOGenerator: alphabetical sorting?
- From: Charles Koppelman <email@hidden>
- Date: Wed, 02 Jan 2008 10:54:30 -0500
- Thread-topic: JavaEOGenerator: alphabetical sorting?
I believe the trick is <$foreach Attribute email@hidden do$>
Charles Koppelman
Youth For Understanding, USA
On 1/2/08 10:46 AM, "Alexander Spohr" <email@hidden> wrote:
> Hi List!
>
> is JavaEOGenerator capable of sorting arrays alphabetical?
>
> 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?
>
>
> It is quite unsatisfying to change your call to a method after every
> new generation because the order of the arguments did change like this:
>
> public SomeClass someMethod(Integer arg1, OtherClass arg2, String
> arg3, String arg4)
> to
> public SomeClass someMethod(OtherClass arg2, Integer arg1, String
> arg3, String arg4)
>
> And now think about this:
> public SomeClass someMethod(Integer arg1, OtherClass arg2, String
> arg3, String arg4)
> to
> public SomeClass someMethod(OtherClass arg2, Integer arg1, String
> arg4, String arg3)
>
> Is this going to change?
>
> atze
>
>
>
> _______________________________________________
> 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
_______________________________________________
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