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      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to