How do I get EO's instantiated with dynamic class?
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