• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Inheritance from separate model file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inheritance from separate model file


  • Subject: Re: Inheritance from separate model file
  • From: Chuck Hill <email@hidden>
  • Date: Thu, 17 Jun 2004 13:43:35 -0700

On Jun 17, 2004, at 11:49 AM, Jason McInnes wrote:

Is it possible to have an entity in one model inherit
from an entity in another model?
Yes.


 For example, have a
Person entity in Model X and a Doctor entity in Model
Y that is a sublcass of Person?
Yes.


I have a number of
entities that inherit from a core set of entities. The
.java files are broken out into separate packages, and
I'd like to have model files that correspond to those
packages, but I can't see how to do cross-model
inheritance. Is it possible?

All of the frameworks containing the model need to be included in the same app/framework. You can choose the model when forming relationships. Subclassing is more tricky due to UI bugs in EOModeler. You can set the parent from the inspector, or subclass the entity in one model and then cut and paste it where it belongs.


Chuck _______________________________________________ webobjects-dev mailing list | email@hidden Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Inheritance from separate model file
      • From: Jason McInnes <email@hidden>
References: 
 >Inheritance from separate model file (From: Jason McInnes <email@hidden>)

  • Prev by Date: Help with MySQL and Unicode (UTF8)
  • Next by Date: Packaging a WO Application
  • Previous by thread: Inheritance from separate model file
  • Next by thread: Re: Inheritance from separate model file
  • Index(es):
    • Date
    • Thread