• 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: Using composition instead of inheritance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Using composition instead of inheritance (From: Paul Hoadley <email@hidden>)
 >Re: Using composition instead of inheritance (From: Ken Anderson <email@hidden>)
 >Re: Using composition instead of inheritance (From: Paul Hoadley <email@hidden>)
 >Re: Using composition instead of inheritance (From: Mike Schrag <email@hidden>)
 >Re: Using composition instead of inheritance (From: Paul Hoadley <email@hidden>)
 >Re: Using composition instead of inheritance (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: D2W: Selectors for enum types?
  • Next by Date: Re: D2W: Selectors for enum types?
  • Previous by thread: Re: Using composition instead of inheritance
  • Next by thread: ERJaveMail
  • Index(es):
    • Date
    • Thread