• 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
Re: Inheritance and relationships
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inheritance and relationships


  • Subject: Re: Inheritance and relationships
  • From: Mike Schrag <email@hidden>
  • Date: Fri, 8 Aug 2008 23:14:10 -0400

Where can I read up about this one?
Well, right here, my good man! I've always thought that making me manually set the values of the attributes of my restricting qualifier when I insert a new instance into an EC was stupid -- the framework should do that for me.

er.extensions.ERXEnterpriseObject.applyRestrictingQualifierOnInsert=true

If you set this property, ERXGenericRecord will look at your restricting qualifier and attempt to construct a kvc dictionary that will make the qualifier true for your object and set it on your object when it's inserted. This obviously is limited to qualifiers that can be "made true" (see ERXEOControlUtilities.makeQualifierTrue). For most people, your restricting qualifier is trivial, anyway ("personType = 5"), so it's not a problem. It's a small thing, but I remember it being one that tripped me up when I was first learning EOF.

ms

_______________________________________________
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


  • Follow-Ups:
    • Re: Inheritance and relationships
      • From: Lachlan Deck <email@hidden>
References: 
 >Inheritance and relationships (From: Guido Neitzer <email@hidden>)
 >Re: Inheritance and relationships (From: Lachlan Deck <email@hidden>)
 >Re: Inheritance and relationships (From: Guido Neitzer <email@hidden>)
 >Re: Inheritance and relationships (From: Guido Neitzer <email@hidden>)
 >Re: Inheritance and relationships (From: Chuck Hill <email@hidden>)
 >Re: Inheritance and relationships (From: Guido Neitzer <email@hidden>)
 >Re: Inheritance and relationships (From: Chuck Hill <email@hidden>)
 >Re: Inheritance and relationships (From: Mike Schrag <email@hidden>)
 >Re: Inheritance and relationships (From: Mike Schrag <email@hidden>)
 >Re: Inheritance and relationships (From: Lachlan Deck <email@hidden>)

  • Prev by Date: Re: Error When Deleting
  • Next by Date: Re: Exception only when framework is embedded
  • Previous by thread: Re: Inheritance and relationships
  • Next by thread: Re: Inheritance and relationships
  • Index(es):
    • Date
    • Thread