Cora Data inverse relations and inherited entities
Cora Data inverse relations and inherited entities
- Subject: Cora Data inverse relations and inherited entities
- From: Remco Poelstra <email@hidden>
- Date: Sun, 3 Sep 2006 22:32:42 +0200
Hi,
I'm trying to make a model for a flow-diagram kind of problem. I've
three types of entities: choice, dir and file. They have some common
properties like bounds (NSRect) and parent (relationship), so I made
an abstract parent entity named Chart_element. When I make an
relationship for, say, the choice entity I want the destination to be
any kind of Chart_element (i.e. choice, file or dir), so I made it
point to Chart_element. The problem now is: How do I define the
inverse relation? Or how do I make otherwise a relation that can
point to any of the three sub-entities?
I made an screenshot of the model I've so far: http://beryllium.net/
~remco/core-data.png
Thanks in advance,
Remco Poelstra
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden