• 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
How do I get EO's instantiated with dynamic class?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How do I get EO's instantiated with dynamic class?


  • Subject: How do I get EO's instantiated with dynamic class?
  • From: Riccardo De Menna <email@hidden>
  • Date: Fri, 17 Aug 2007 08:38:20 +0200

Hi all,

I was wondering if anyone could point me out in the right direction on this problem of mine.
I'm writing a domain registration app and I have a model that holds an entity "domain".
It's generic in nature as it will accomodate many different domain endings (com net org eu etc).


Since I need to fit in a lot of custom behavior I was wondering if I can force my editing context to retrieve data from the database but then instantiate custom subclasses of a generic abstract "domain" class (ie DotComDomain, DotNetDomain) instead of what I provide in the model.
Is there a way to decide on the fly what class gets used to generate fetched EO's?


Thanks in advance,
Riccardo De Menna

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

  • Follow-Ups:
    • Re: How do I get EO's instantiated with dynamic class?
      • From: Guido Neitzer <email@hidden>
    • Re: How do I get EO's instantiated with dynamic class? Sorry for the spam
      • From: Riccardo De Menna <email@hidden>
  • Prev by Date: RE: WebSphere connection pool and EOModeler
  • Next by Date: Re: How do I get EO's instantiated with dynamic class? Sorry for the spam
  • Previous by thread: Re: Looking for an update foo set bar = bar + 1 solution for WO
  • Next by thread: Re: How do I get EO's instantiated with dynamic class? Sorry for the spam
  • Index(es):
    • Date
    • Thread