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 customMore...
- 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
Mac OS X, Apple WebObjects