[ https://issues.apache.org/jira/browse/CAY-2677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nikita Timofeev closed CAY-2677. -------------------------------- Resolution: Fixed *4.1*: https://github.com/apache/cayenne/commit/3ad81a8f0fe77b64b95029fe77942f8d50e9dc9c > 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. > Assignee: Nikita Timofeev > Priority: Major > Fix For: 4.1.1, 4.2.M3 > > 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)