Re: EntityResolver and associated commits

From: Andrus (andru..bjectstyle.org)
Date: Tue Nov 12 2002 - 22:25:42 EST

  • Next message: Andrus: "Re: missing reverse relationship causes NPE"

    At 03:24 PM 11/13/2002 +1300, you wrote:
    >Hi all,
    > I have just committed a chunk of work towards flattened
    > relationships.
    >It is the first step, and consisted of the following:

    Cool, I checked out the new code, all unit tests work as expected.

    >Now only one ObjEntity in a Domain (and hence also a DataMap) may be
    >backed by a given Class (name). Nodes are handled implicitly by this (I
    >think). Unit test database structure had to be revised slightly to fit
    >this (Painting1, SubPainting, ArtistPaintingCounts, ROArtist and
    >ROPainting all needed their own DataObject classes).

    Well, nodes will need their own resolver I think. But this is not
    important, since all the logic will be in resolver (kind of EOModelGroup).

    I think now we can also remove internal DataMap lists from node and domain
    (though preserve the access methods). All additions/removal of DataMaps
    will be transparently handled by resolver. This is all refactoring without
    changing API, so I can do this myself without holding Craig's further progress.

    >I think that was all. Thanks Andrus for the guidance on this, my first
    >major commit.

    You are welcome :-). I am really glad how this worked out. Earlier I
    estimated that I could do the flattened relationship stuff myself no
    earlier than say February or March.

    Andrus



    This archive was generated by hypermail 2.0.0 : Tue Nov 12 2002 - 22:25:04 EST