Re: fspec qualifier documentation?
Re: fspec qualifier documentation?
- Subject: Re: fspec qualifier documentation?
- From: OC <email@hidden>
- Date: Mon, 11 Jul 2016 13:08:15 +0200
Aha, thanks, I see.
Hmmm, might perhaps be somewhere documented the way all the different qualifiers archive themselves, or am I SOL with that? Alas I can't simply (un)archive them, for the code which edits those fspecs is pure today's ObjC Cocoa (it is my standalone EOModeller application): no qualifiers in there and no Java bridge either.
Thanks,
OC
On 11. 7. 2016, at 6:53, Chuck Hill <email@hidden> wrote:
> Pretty sure what you looking for is EOKeyValueUnarchiver and EOKeyValueArchiver
>
> From: <webobjects-dev-bounces+chill=email@hidden> on behalf of OC <email@hidden>
> Date: Sunday, July 10, 2016 at 5:52 PM
> To: WebObjects-Dev Mailing List <email@hidden>
> Subject: fspec qualifier documentation?
>
> 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
_______________________________________________
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