Re: [jira] Updated: (CAY-400) Support for user properties of DataMap objects.

From: Aristedes Maniatis (ar..aniatis.org)
Date: Mon Jun 01 2009 - 01:50:41 EDT

  • Next message: Andrus Adamchik: "Re: sourceforge"

    Jack is an intern at ish who has been working on this task. We
    discussed the basic design strategy and class structure, and Jack has
    put together some code. We'd like some feedback about the approach,
    especially the idea of superclassing the CayenneMapItems to allow for
    the code to live in one place.

    The next step will be to implement the Cayenne Modeler UI, for which
    I've drawn some mockups Jack will implement.

    Ari Maniatis

    On 01/06/2009, at 3:22 PM, jackCHEN (JIRA) wrote:

    >
    > [ 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.
    >

    -------------------------->
    Aristedes Maniatis
    phone +61 2 9660 9700
    PGP fingerprint 08 57 20 4B 80 69 59 E2 A9 BF 2D 48 C2 20 0C C8



    This archive was generated by hypermail 2.0.0 : Mon Jun 01 2009 - 01:51:24 EDT