EOGenerator .... could not live without it. Yes, this little
eogenerator hack, sorry I mean casting, is needed to make the int
work for a boolean ;-) ..... so a newcomer to WO who has still not
reached the stage of realizing that fulfilling iterative development
life is not possible without eogenerator is still better off using
the char(5) .... aw, come on, admit it :-p
Cheers and goodnight, Kieran ;-)
On Apr 23, 2007, at 10:27 PM, Lachlan Deck wrote:
Sure. I forgot to add that in my EOGenerator template (if you're
using EOGenerator... sudo port install eogenerator) I've adjusted
the JavaSourceEOF52.eotemplate.
<....>
<$foreach Attribute [EMAIL PROTECTED] do
$>
<$if Attribute.javaValueClassName eq 'Number' &&
Attribute.valueType eq 'c'$>
public Boolean <$Attribute.name$>() {
return ( Boolean )storedValueForKey( <
$Attribute.name.initialCapitalString$>Key );
}
public void set<$Attribute.name.initialCapitalString$>( Boolean
aValue ) {
takeStoredValueForKey( aValue, <
$Attribute.name.initialCapitalString$>Key );
}
<$ else $>
// normal definition
<$endif$><$endforeach do
$>
<....>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]