• 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
Re: Integer i in EOModel creates Long or Integer in EOGeneration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Integer i in EOModel creates Long or Integer in EOGeneration


  • Subject: Re: Integer i in EOModel creates Long or Integer in EOGeneration
  • From: Mike Schrag <email@hidden>
  • Date: Tue, 8 Apr 2008 12:00:14 -0400

When I use EOGenerate to create a _Show class, and a _Performance class, this results in:
If you're using the stock eogenerator templates, they call WOLips' attribute.getJavaClassName(), which is pretty straightforward:

String className = getValueClassName();
if ("Number".equals(className) || "NSNumber".equals(className)) {
...
} else if ("i".equals(valueType)) {
className = "Integer";
...

All that matters is that your attribute is NSNumber + i.  Given the simplicity of this code, I don't see any way this would mess up except that you're not looking at the model you think you're looking at, you're not looking at the class you think you're looking at, or you're not using the velocity templates you think you're using.

ms
 _______________________________________________
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: Integer i in EOModel creates Long or Integer in EOGeneration
      • From: Johan Henselmans <email@hidden>
References: 
 >Integer i in EOModel creates Long or Integer in EOGeneration (From: Johan Henselmans <email@hidden>)

  • Prev by Date: Integer i in EOModel creates Long or Integer in EOGeneration
  • Next by Date: Re: Google App Engine
  • Previous by thread: Integer i in EOModel creates Long or Integer in EOGeneration
  • Next by thread: Re: Integer i in EOModel creates Long or Integer in EOGeneration
  • Index(es):
    • Date
    • Thread