• 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
fspec qualifier documentation?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fspec qualifier documentation?


  • Subject: fspec qualifier documentation?
  • From: OC <email@hidden>
  • Date: Mon, 11 Jul 2016 02:52:30 +0200

Hi there,

is there somewhere a documentation of the structure which defines “qualifier“ in a fspec inside of a model?

The WO_BundleReference.pdf of 2008-11-19 (which is the newest one I could find) says “A formatted string for an EOQualifier object that indicates which records or objects the fetch specification should fetch. See EOQualifier in WebObjects 5.4 Reference for the format of this string.”

That's a blatant lie. If I try to put a string in there, at runtime, the outcome is

1506 [main] WARN NSLog  - A fatal exception occurred: java.lang.String cannot be cast to com.webobjects.eocontrol.EOQualifier

It looks like there should be a sort of dictionary, like e.g.,

===
    qualifier =     {
        class = EOKeyValueQualifier;
        key = nnn;
        selectorName = "isEqualTo:";
        value =         {
            class = NSNumber;
            value = 1000001;
        };
    };
===

-- this one actually happens to work -- but I would like to see a complete documentation, if there is one?

Thanks a lot,
OC


 _______________________________________________
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: fspec qualifier documentation?
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: Horizontal inheritance to splitting big database tables to speed up?
  • Next by Date: Re: qualified to-many relationships?
  • Previous by thread: Re: qualified to-many relationships?
  • Next by thread: Re: fspec qualifier documentation?
  • Index(es):
    • Date
    • Thread