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

From: Andrey Razumovsky (razumovsky.andre..mail.com)
Date: Mon Jun 01 2009 - 05:30:28 EDT

  • Next message: Andrus Adamchik: "Re: [jira] Updated: (CAY-400) Support for user properties of DataMap objects."

    Hi,

    Yeah, Ari is right about my intention to wait. Maybe the new feature will be
    enough so that adding 'comments' will not be required..
    As for "CayenneMapItem" class, or whatever you call it (I'd prefer
    "MappedObject" or "AbstractMappedObject"), it'd be good to see some more
    logic there, like get/setName() (and probably make it implement
    CayenneMapEntry). I understand this is impossible because EntityListener
    needs user properties.. Maybe separate it to two different classes?
    Also could you please wrap "info" tags in XML to parent tag, e.g.
    <infoset>
       <info.../>
       ...
    </infoset>

    Regards,
    Andrey

    2009/6/1 Aristedes Maniatis <ar..sh.com.au>

    >
    > On 01/06/2009, at 6:46 PM, Andrus Adamchik wrote:
    >
    > There has been a discussion previously on whether properties and comments
    >> are the same thing or not. The consensus was that those are two different
    >> things. Comments are actually DB-related artifacts (and therefore won't
    >> probably be attached to any Obj* metadata objects, or relationships, etc.).
    >> Properties are arbitrary strings attached to any mapping object.
    >>
    >
    > Jack is referring to 'comments' since a powerful use of the feature he has
    > built is to use them to create things like javadocs with the velocity
    > templates. This is not quite the same as Andrey's 'comments'.
    >
    >
    > I assumed you are working on the later feature (properties, not comments)?
    >> Also IIRC Andrey was looking at building comment support. Andrey please
    >> correct me if I'm wrong.
    >>
    >
    > He was going to wait and see what Jack did here in case there was useful
    > overlap. One approach could be to reserve a MapEntryProperty keyword 'db'
    > for what Andrey needs. The UI in Cayenne modeler will work well in that way
    > I think, but let's see when that is done what you and Andrey think about
    > this.
    >
    >
    > 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 : Mon Jun 01 2009 - 05:31:05 EDT