On 16/12/2008, at 10:42 PM, Andrus Adamchik wrote:
> I'd say CAY-659 itself is a standalone feature, not a duplicate.
> However implementation may use the properties mechanism (i.e. make
> "comment" a special property). With this approach CAY-659 is a
> dependent of CAY-400... or not if we make it a standalone ivar.
I think that was the idea from last time we discussed this. key/value
pairs which could be attached to attributes, entities, etc. and a
special key "doc" which would have significance in terms of generating
javadocs in the generated code. There is nothing special about that
key other than cgen would read insert its values in the appropriate
places.
Really the only hard part of this is creating a GUI in Cayenne modeler
which allows for adding reasonably long bits of text to attributes,
relations, etc. while not hiding them away in popup windows where you
can't easily see them as you review the model.
Ari
-------------------------->
ish
http://www.ish.com.au
Level 1, 30 Wilson Street Newtown 2042 Australia
phone +61 2 9550 5001 fax +61 2 9550 4001
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
This archive was generated by hypermail 2.0.0 : Tue Dec 16 2008 - 07:36:06 EST