• 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: EOModeler and boolean
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EOModeler and boolean


  • Subject: Re: EOModeler and boolean
  • From: WIESEN Bruno <email@hidden>
  • Date: Mon, 23 Apr 2007 16:53:58 +0200

It doesn't seem to solve my problem...Thank you

Le 23 avr. 07 à 16:20, Daniele Corti a écrit :

public Boolean enabled()
{
    if(storedValueForKey("enabled") instanceof Boolean)
         return (Boolean) storedValueForKey("enabled");
    return ((Integer)storedValueForKey("enabled")).intValue() == 1 ? true : false;
}

 _______________________________________________
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: 
 >EOModeler and boolean (From: WIESEN Bruno <email@hidden>)
 >Re: EOModeler and boolean (From: "Daniele Corti" <email@hidden>)

  • Prev by Date: Re: EOModeler and boolean
  • Next by Date: Re: EOModeler and boolean
  • Previous by thread: Re: EOModeler and boolean
  • Next by thread: Re: EOModeler and boolean
  • Index(es):
    • Date
    • Thread