• 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
EOGenerator and prototypes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: EOGenerator and prototypes
      • From: Mike Schrag <email@hidden>
    • Re: EOGenerator and prototypes
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: Deadlock ...
  • Next by Date: Re: EOGenerator and prototypes
  • Previous by thread: Re: [SOLVED] Direct Action needs Application's EOSharedEditingContext
  • Next by thread: Re: EOGenerator and prototypes
  • Index(es):
    • Date
    • Thread