• 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: EOFetchSpecification .fspec plist description?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EOFetchSpecification .fspec plist description?


  • Subject: Re: EOFetchSpecification .fspec plist description?
  • From: Chuck Hill <email@hidden>
  • Date: Tue, 21 Aug 2018 17:44:23 +0000
  • Thread-topic: EOFetchSpecification .fspec plist description?

I don’t think it is documented.  These are meant to be created via a UI (old
EOModeler, WOLips Entity Modeler).  That looks to be the output/input of a
EOKeyValueArchiver.

Chuck

From: Webobjects-dev
<webobjects-dev-bounces+chill=email@hidden> on behalf of
"ocs@ocs" <email@hidden>
Date: Tuesday, August 21, 2018 at 10:18 AM
To: "email@hidden" <email@hidden>
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      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: EOFetchSpecification .fspec plist description?
      • From: "ocs@ocs" <email@hidden>
References: 
 >EOFetchSpecification .fspec plist description? (From: "ocs@ocs" <email@hidden>)

  • Prev by Date: EOFetchSpecification .fspec plist description?
  • Next by Date: Re: Should ERXEC get sharedEC automagically?
  • Previous by thread: EOFetchSpecification .fspec plist description?
  • Next by thread: Re: EOFetchSpecification .fspec plist description?
  • Index(es):
    • Date
    • Thread