So, I need a method on EORlationship so EOGenerator can check a Relationship to see not only if it is inherited, but if it's destination entity is different than the inherited method's destination Entity.

Currently I have:

#if (!$relationship.inherited)

I need something along the lines of:

#if (($relationship.inherited && $relationship.destination.name != $relationship.relationshipOnParent.destination.name) || (! $relationship.inherited))

What do you think, Mike?

Dave


On Sep 4, 2008, at 1:46 PM, Mike Schrag wrote:

Not ENTIRELY true ... you can override the return type to be a subclass of the parent classes' return type.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to