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

Re: fspec qualifier documentation?


  • Subject: Re: fspec qualifier documentation?
  • From: Chuck Hill <email@hidden>
  • Date: Mon, 11 Jul 2016 15:45:23 +0000
  • Thread-topic: fspec qualifier documentation?

I am pretty sure that all of the EO* classes use those archivers.  Or should.  :-)  You could write some code to listen for the ModelAdded notification, unarchive them from some other file and augment your model then.

 

 

 

From: OC <email@hidden>
Date: Monday, July 11, 2016 at 4:08 AM
To: Chuck Hill <email@hidden>
Cc: WebObjects-Dev Mailing List <email@hidden>
Subject: Re: fspec qualifier documentation?

 

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

References: 
 >fspec qualifier documentation? (From: OC <email@hidden>)
 >Re: fspec qualifier documentation? (From: Chuck Hill <email@hidden>)
 >Re: fspec qualifier documentation? (From: OC <email@hidden>)

  • Prev by Date: Re: Horizontal inheritance to splitting big database tables to speed up?
  • Next by Date: Re: Horizontal inheritance to splitting big database tables to speed up?
  • Previous by thread: Re: fspec qualifier documentation?
  • Next by thread: Intercepting a failed action method invocation
  • Index(es):
    • Date
    • Thread