Details
Description
Customization of code generation templates is vitual for production-ready projects to apply appropriate file headers, meet coding guidelines, and for other reasons.
Therefore Cayenne Modeler shall support selection of custom templates for generation Embeddables and DataMap Java classes, as it does for Object Entities.
This requires enhancements storing DataMap specific settings.
The attached patch provides a basic implementation of that feature (plus some minor bug-fixes) in Modeler as well as cgen. Other dependencies to cgen - if there are any - are not tackled. The coding style aims following present code although some parts (e.g. template or checkbox handling) could generalized.