[
https://issues.apache.org/jira/browse/CAY-400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
jackCHEN updated CAY-400:
-------------------------
Attachment: patch_2009-5-28
On the basis of Ari's suggestion, i try to make most elements can use comment
function.
I add a Abstract CayenneMapItem Class which provides comment function.Through
inheriting it, Entity, Relationship, EntityListener, Attribute automatically
get the same function.
According to the detailed key value, we can define different operations.
I.E.
Use "doc" key to generate Javadocs during class generation
Use "annotation" key to generate JDK 1.5 annotations during class
generation
> Support for user properties of DataMap objects.
> -----------------------------------------------
>
> Key: CAY-400
> URL: https://issues.apache.org/jira/browse/CAY-400
> Project: Cayenne
> Issue Type: New Feature
> Components: Cayenne Core Library, CayenneModeler GUI
> Affects Versions: 3.0
> Reporter: Andrus Adamchik
> Assignee: Ari Maniatis
> Fix For: Short term future
>
> Attachments: patch_2009-5-28
>
>
> We need to support user defined properties attached to
> * Entities
> * Attributes
> * Relationships
> (Obj and Db). This feature is similar to JDK 1.5 annotations.
> Basic support:
> * allow to enter string key/value pairs in the Modeler and save them in XML.
> * Just like with JVM annotations implement some logic to load annotations
> conditionally.
> Ideas for using this info in Cayenne:
> * Attach DB comments on reverse-engineer
> * Use certain keys to generate Javadocs during class generation
> * Use certain keys to generate JDK 1.5 annotations during class generation.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.