• 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
Data modeling, inheritance, and relationships
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Data modeling, inheritance, and relationships


  • Subject: Data modeling, inheritance, and relationships
  • From: Timothy Larkin <email@hidden>
  • Date: Sun, 20 Nov 2005 09:13:23 -0500

Suppose I have an entity class, Field, which has a relationship, foo. Then I create another entity class, Subfield, which is a subclass of Field. I expect that Subfield will inherit the foo relationship as well as the other attributes of Field. However, I have not been able to find any way in the XCode data modeler to attach Subfield to another entity using the foo relationship. If I create a relationship, foo, for Subfield, the data modeler compiler complains that Subfield.foo conflicts with Field.foo.

Or is it the case that Subfield inherits the destination entity along with the relationship itself? Can Subfield direct the inherited relationship foo to an entity other than the destination entity of that relationship in the superclass, Field?


-- Timothy Larkin Abstract Tools Caroline, NY

_______________________________________________
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


  • Follow-Ups:
    • Re: Data modeling, inheritance, and relationships
      • From: Chris Hanson <email@hidden>
  • Prev by Date: Re: Cocoa framework for iSight?
  • Next by Date: Problems with double freeing.
  • Previous by thread: Re: Automagic instantiation of singletons? (Christian Brunschen)
  • Next by thread: Re: Data modeling, inheritance, and relationships
  • Index(es):
    • Date
    • Thread