Chuck, > On 21 Aug 2018, at 7:44 PM, Chuck Hill <ch...@gevityinc.com> wrote: > I don’t think it is documented. These are meant to be created via a UI (old > EOModeler, WOLips Entity Modeler).
Well, given they (i.e., NeXT — far as I know, the document's as old as that) bothered to write the “WebObjects File Format Reference” at all, I presume they presumed one might need to create/edit those files manually. Which position I happened to find myself, for the old EOModeler is sorta at the dead side, and alas, since I have found Eclipse very seriously lacking when compared with Xcode, I had to write one of my own (https://github.com/jvanek/EOModeler-OSX <https://github.com/jvanek/EOModeler-OSX>). > That looks to be the output/input of a EOKeyValueArchiver. Ha! Thanks a lot: the possibility to test how any particular qualifier might look like is the second best thing after a perfect documentation :D All the best, OC > > From: Webobjects-dev > <webobjects-dev-bounces+chill=gevityinc....@lists.apple.com > <mailto:webobjects-dev-bounces+chill=gevityinc....@lists.apple.com>> on > behalf of "ocs@ocs" <o...@ocs.cz <mailto:o...@ocs.cz>> > Date: Tuesday, August 21, 2018 at 10:18 AM > To: "webobjects-dev@lists.apple.com <mailto:webobjects-dev@lists.apple.com>" > <webobjects-dev@lists.apple.com <mailto:webobjects-dev@lists.apple.com>> > Subject: EOFetchSpecification .fspec plist description? > > Hi there, > > incidentally, does perhaps anyone know of a reliable documentation of the > property list items which describe an EOFetchSpecification inside of a .fspec > file in a model? > > The Apple documentation (“WebObjects File Format Reference”) either blatantly > lies, or I must be doing something terribly wrong; the doc says > > === > qualifier / string / 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. > === > > nevertheless, when I tried with a > > === > "SharedStaticObjects" = { > class = EOFetchSpecification; > entityName = DBDFList; > fetchLimit = 0; > isDeep = YES; > qualifier = "uid < 99999"; > }; > === > > it simply did not work. Having checked some real .fpecs I have changed it to > > === > ... > qualifier = { > class = EOKeyValueQualifier; > key = uid; > selectorName = "isLessThan:"; > value = { > class = NSNumber; > value = 99999; > }; > }; > ... > === > > which works like a charm, but — far as I was able to ascertain — does not > seem to be documented anywhere at all... > > Thanks again, > 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