• 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
Binary AND Qualifier
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Binary AND Qualifier


  • Subject: Binary AND Qualifier
  • From: "John Huss" <email@hidden>
  • Date: Fri, 26 Sep 2008 12:27:49 -0500

How can I test an Integer attribute to see if it has a bit set, like (myAttribute & 1 != 0)?

I'd like to do this with a qualifier, only in memory right now, although having DB support would be cool (since FrontBase does allow this).

I tried messing around with an EOKeyValueQualifier with a custom selector but had no luck.

I could see this qualifier being useful as well as a Binary OR qualifier and a MOD qualifier.

John

 _______________________________________________
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: Binary AND Qualifier
      • From: Chuck Hill <email@hidden>
  • Prev by Date: WebObjects Error in Wonder D2W when populating MS SQL Server example
  • Next by Date: Re: Binary AND Qualifier
  • Previous by thread: Re: WebObjects Error in Wonder D2W when populating MS SQL Server example
  • Next by thread: Re: Binary AND Qualifier
  • Index(es):
    • Date
    • Thread