cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Zeigler (JIRA)" <>
Subject [jira] Commented: (CAY-56) Comments for entities, attributes and relationships
Date Mon, 11 May 2009 17:49:45 GMT


Robert Zeigler commented on CAY-56:

4 is a definite must, imo.
It would be /so/ nice if we could have specialized forms of comments, or some way of describing
/how/ to apply them (eg: javadocs, annotations, etc.), but, maybe that's too much to ask.
Although.... we could do somthing as simple as: comments on db entitites are applied to the
db; comments on obj entities are applied to the java class.  At least for the java class,
comments could be output raw.  So I could add a comment that looks like: 

to the obj entity and that would be applied directly to the java class. Just a thought; then
the comments are very generic, from cayenne's perspective, but still useful directly by, eg,

> Comments for entities, attributes and relationships
> ---------------------------------------------------
>                 Key: CAY-56
>                 URL:
>             Project: Cayenne
>          Issue Type: New Feature
>          Components: Cayenne Core Library, CayenneModeler GUI
>    Affects Versions: 3.0M5
>         Environment: All
>            Reporter: Jim Menard
>            Assignee: Andrey Razumovsky
>             Fix For: Short term future
> It would be nice to be able add a comment or description to every attribute and relationship,
both for data entities and object entities. The comment could not only be stored in cayenne.xml
but could also be output to the Java code of the object entities. I seem to remember that
some databases also support comments for tables and perhaps even columns.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message