that takes the string
>>> and returns an instance of a sub-class of EntityAbstract. All of the
>>> information needed to do this is in the model and can be referenced at
>>> runtime. It is quite simple. The way you are doing it below is just wrong.
>>>
That is not a solution. That is a terrible thing to do. I don’t want to
spread bad ideas.
From: Webobjects-dev
on behalf of remy
Date: Tuesday, November 28, 2017 at 1:47 AM
To: "webobjects-dev@lists.apple.com"
Subject: Re: Polymorphic Relationship
Hi Chuck,
How do I thi
ate: Friday, November 24, 2017 at 2:30 AM
> To: "webobjects-dev@lists.apple.com"
> Subject: Polymorphic Relationship
>
> Hi,
>
> I want make an polymorphic entity.
>
> I have an Entity Abstract named "EntityAbstract" and a subclass Entity named
> &
Hi Remy,
I used polymorphic relationship, in my case I used ERXLongPrimaryKeyFactory
(splitting Long primary key numbers into 2 parts, 1 sequence and 1 entity
index), to help EOF a bit.
In the model you describe, I really think you should change it a bit.
- an object should not change class ‘on
ime. It is quite simple. The way you are doing it below is just wrong.
>
> Chuck
>
> From: Webobjects-dev
> on behalf of
> remy
> Date: Friday, November 24, 2017 at 2:30 AM
> To: "webobjects-dev@lists.apple.com"
> Subject: Polymorphic Relationship
&
be referenced at runtime. It is
quite simple. The way you are doing it below is just wrong.
Chuck
From: Webobjects-dev
on behalf of remy
Date: Friday, November 24, 2017 at 2:30 AM
To: "webobjects-dev@lists.apple.com"
Subject: Polymorphic Relationship
Hi,
I want make an polymorp
aveChanges();
If you really want to model a polymorphic relationship, the destination of the
relationship "refEntity" should be EntityAbstract.
Am 24.11.2017 um 11:30 schrieb remy mailto:r...@algodata.fr>>:
Hi,
I want make an polymorphic entity.
I have an Entity Abstract na
Hi,
I want make an polymorphic entity.
I have an Entity Abstract named "EntityAbstract" and a subclass Entity named
"EntitySub" where the qualifier is (refEntityName=‘EntitySub').
I have third Entity named "Relation" that has an relationship with "EntitySub".
I have a problem when :
EOEditingC