Stefan S. created CAY-2677:
------------------------------

             Summary: Custom Class Generation Templates for Embeddables and 
DataMaps
                 Key: CAY-2677
                 URL: https://issues.apache.org/jira/browse/CAY-2677
             Project: Cayenne
          Issue Type: Improvement
          Components: cgen, Modeler
    Affects Versions: 4.1
            Reporter: Stefan S.
         Attachments: cayenne_modeler_additional_template_selection.diff

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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to