EOGenerator 1.7 review

Download
by rbytes.net on

EOGenerator is a command-line tool for generating Java and Objective-C EO classes from EOModel file(s) using a different method than Apple's EOModeler.

License: Freeware
OS: Mac OS X
File size: 132K
Developer: rubicode
Price: $0.00
Updated: 16 Mar 2006
0 stars award from rbytes.net


EOGenerator is a command-line tool for generating Java and Objective-C EO classes from EOModel file(s) using a different method than Apple's EOModeler. Two classes are generated for each EOEntity: one that is generated every time the EOEntity changes, and a subclass (the real EO class) that is only generated once. This approach allows business logic to be implemented in the subclass without fear of being overwritten later.

When using customized templates, it is possible (among other things) to generate methods to call fetch specifications, generate methods to add and remove objects from relationships with typed arguments, to have a custom superclass for all your EOs, and generate cross-framework #import statements correctly for Objective-C classes when models are in separate frameworks. Example templates are provided for Java and Objective-C that show some of these additional abilities.

What's New:
Built as a universal binary for use on Intel Macs.
Fixed Apple's buggy handling of Boolean attributes (Number attributes with a valueType of "c"). These should now be generated correctly as Boolean instead of Number. Reported by Miguel Arroz.
Added -encoding and -templateEncoding parameters to control character encoding of generated files and templates. Suggested by Francis Labrie.
Added enhancements to -filenameTemplate (isSubclass/isSuperclass variables) for more flexible filename generation. Suggested by St?phane Corth?sy.
Added -lastLetter NSString method for use in templates. Suggested by Greg Hulands.
Added barebones EOF headers to allow compilation with WebObjects 5.3. Contributed by Mike Schrag.
Fixed a bug that skipped JavaClient class generation if the server-side class was EOGenericRecord. Reported by David Avendasora.
Fixed WebObjects 5.2+ JavaClient generation when using entity inheritance. Reported by David Avendasora.
Added a log message in verbose mode when skipping EOGenericRecord entities.
Avoided strange but harmless "EOControlJava RemoveMethodList..." log message which sometimes appeared.
Updated with new MiscMerge; adds encoding support and fixes a few bugs.

Requirements:
MacOS X w/WebObjects
MacOS X Server 1.2 w/WebObjects
Windows NT/2 w/WebObjects
OPENSTEP w/EOF.

EOGenerator 1.7 keywords