cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Malcolm Edgar (JIRA)" <>
Subject [jira] Commented: (CAY-400) Support for user properties of DataMap objects.
Date Tue, 16 Dec 2008 10:21:12 GMT


Malcolm Edgar commented on CAY-400:

This issue marks CAY-659 as a duplicate (similar to CAY-56), however I think this is different
is scope.

Having a comments field in the Modeler for entities, attributes and queries is a very useful
feature for communicating a schemas local design to other team members. Generally we all write
comments in our code, it would be nice to be able to do the same thing in the Modeler.  I
don't think this is the same a more generic name/value pair concept which is used for some
yet to be defined purpose.  

An example of what I wanted to see in the Modeler is:

The reason I am raising this again, is after reviewing the Cayenne 3.0 M5 release which is
pretty awesome, adding comments is a pretty simple change to the Modeler UI which adds a lot
of value in development teams

regards Malcolm Edgar

> Support for user properties of DataMap objects.
> -----------------------------------------------
>                 Key: CAY-400
>                 URL:
>             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
> 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.

View raw message