EOGenerator and prototypes
EOGenerator and prototypes
- Subject: EOGenerator and prototypes
- From: Lachlan Deck <email@hidden>
- Date: Tue, 15 May 2007 14:24:31 +1000
Hi there,
I've just reworked a model to utilise a prototypes model - but when
eogenerating the classes I'm finding that I'm no longer getting
BigDecimal, for example, in the signature but Number instead.
e.g.,
// template snippet...
public <$Attribute.javaValueClassName$> <$Attribute.name$>() {
return ( <$Attribute.javaValueClassName$> )storedValueForKey( <
$Attribute.name.initialCapitalString$>Key );
}
// is producing something like:
public Number name() {
return ( Number )storedValueForKey( NameKey );
}
Example prototype:
MyPrototypes.eomodeld/
EOJDBCMySQLPrototypes.plist
<...>
{
allowsNull = Y;
columnName = "";
externalType = NUMERIC;
name = "decimal(14,2)";
precision = 14;
scale = 2;
valueClassName = NSNumber;
valueType = B;
},
<...>
Any ideas?
with regards,
--
Lachlan Deck
_______________________________________________
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