Re: Modeller Question

From: Mike Kienenberger (mkienen..laska.net)
Date: Wed Feb 16 2005 - 19:42:33 EST

  • Next message: Fredrik Liden: "RE: Modeller Question"

    Fredrik Liden <flide..ranslate.com> wrote:
    > Also, what is the purpose of the DataObject Superclass field that can be
    > set under the maps?

    You can set a superclass for all of your DataObjects. For instance I have
    GenericDataObject set as my superclass and it contains a variety of
    convenience methods [DataObject getLocalObject(),
    objectMatchingPrimaryKey(), primaryKey(), and so on] that each of my
    DataObjects use.

    Ironically, most of those functions are now available directly in Cayenne,
    but at the time, they were all local patches :)

    -Mike



    This archive was generated by hypermail 2.0.0 : Wed Feb 16 2005 - 19:41:49 EST