Re: Using composition instead of inheritance
Re: Using composition instead of inheritance
- Subject: Re: Using composition instead of inheritance
- From: Paul Hoadley <email@hidden>
- Date: Wed, 30 May 2012 08:55:46 +0930
On 30/05/2012, at 8:01 AM, Mike Schrag wrote:
> FrameworkPerson (and all code in the framework refers to that) and AppPerson (extends FrameworkPerson class, and all app code refers to that). When your models load, replace FrameworkPerson entity with AppPerson entity, so fetches for FrameworkPerson are secretly the equivalent to what AppPerson fetches would be. This is assuming EVERY row in your person table is an AppPerson in any given app.
Thanks Mike.
--
Paul.
http://logicsquad.net/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden