Re: JavaEOGenerator: alphabetical sorting?
Re: JavaEOGenerator: alphabetical sorting?
- Subject: Re: JavaEOGenerator: alphabetical sorting?
- From: Alexander Spohr <email@hidden>
- Date: Wed, 2 Jan 2008 17:02:31 +0100
Am 02.01.2008 um 16:54 schrieb Charles Koppelman:
I believe the trick is <$foreach Attribute
email@hidden do$>
Um, no.
My code-example works - for EOGenerator.
My question was about JavaEOGenerator.
atze
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
Freeport & Soliversum
Alexander Spohr
email@hidden
www.freeport.de
_______________________________________________
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