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

Booleans


  • Subject: Booleans
  • From: David Griffith <email@hidden>
  • Date: Thu, 11 Mar 2004 02:57:52 +0100

HI all,

I have en EOPrototype set up in my EOModel like this:

Name: boolean
Value Class:  java.lang.Boolean
Factory Method:  valueOf
Conversion Method:  toString
Init Arguament: NSString

And I have just added 'c' as the value type.

The value stored in the database as a result is 'true' or 'false' and it is
getting stored ok.

However, anytime I reference the value in code, like:

orderStatus.oscIsShipped()

I ALWAYS get false.  No matter what.  Even though it is true in the
database.

It's got to be something small, can someone tell me why?  It's driving me
crazy.

Regards,
Dave.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Booleans
      • From: Kieran Kelleher <email@hidden>
References: 
 >Re: Random Int between x and y (From: Ray Ackland <email@hidden>)

  • Prev by Date: Re: Random Int between x and y
  • Next by Date: WebServices Soap Error (InvocationTargetException)
  • Previous by thread: Re: Random Int between x and y
  • Next by thread: Re: Booleans
  • Index(es):
    • Date
    • Thread