Re: How to model Abstract Entities

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Mon Nov 28 2005 - 07:24:11 EST

  • Next message: Dov Rosenberg: "Re: How to model Abstract Entities"

    There is no explicit mapping of abstract entities via the Modeler.
    Instead you'd specify a custom superclass for each individual entity
    (see "Superclass" field in the ObjEntity Editor in the Modeler) or
    for all entities at once (see "Custom Superclass" field in the
    DataMap Editor panel).

    Andrus

    On Nov 28, 2005, at 3:40 AM, Dov Rosenberg wrote:

    > In our EOF based EOModel we created some abstract entities that are
    > not tied to a database entity. For example we created an AbstractEO
    > entity that contains a single attribute called recordid. We then
    > created other abstract Eos based off of AbstractEO i.e. DatedEO
    > (dateadded, datemodified).
    >
    > All of our DB based entities inherit from one of the subclasses of
    > AbstractEO.
    >
    > I am not sure how to model this type of entity within Cayenne. (I
    > am using 1.2M8)
    >
    >
    > --
    > Dov Rosenberg
    > Inquira Inc
    > 370 Centerpointe Circle, ste 1178
    > Altamonte Springs, FL 32701
    > (407) 339-1177 x 102
    > (407) 339-6704 (fax)
    > drosenber..nquira.com
    > AOL IM: dovrosenberg
    >



    This archive was generated by hypermail 2.0.0 : Mon Nov 28 2005 - 07:24:11 EST