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 have a custom superclass for the generated EO classes and generate Objective-C #import statements correctly if EOModels related to each other reside in separate frameworks.
EOGenerator can be compiled and used on MacOS X 10.x, MacOS X Server 1.2, WebObjects/NT, and OPENSTEP. It comes with source code.
What's new in this version:
# Updated for WebObjects 5.2.4 on MacOS X.
# Updated to a new MiscMerge version; new features include a debug command, and additional commands to set variables in different scopes.
# Added method javaValueTypeClassName and javaScalarValueTypeClassName that returns the name for a class or scalar value for Number attributes. For example, you can get a Boolean or Float instead of a Number.
# Added -define- flag to the -help list.
# Added initialLowercaseString to return a string with the first letter lowercased.
# Added additional template code in the standard Java template.
# Added -filenameTemplate option for more flexible filename generation. Suggested by Jason Jobe.
# Reset the NEXT_ROOT environment variable to blank so that it does not cause problems with EOAdapter frameworks loaded dynamically. Reported by Pierre Frisch.
# Fixed possible exceptions with the deleteAllXXXRelationships method defined in EOGJavaSource.eotemplate. We were removing objects from an array during enumeration. Follow the link and
free download EOGenerator now.
DETAILS