• 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: Converting from one subclass to another
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Converting from one subclass to another


  • Subject: Re: Converting from one subclass to another
  • From: Alexander Spohr <email@hidden>
  • Date: Thu, 14 Feb 2008 09:30:38 +0100


Am 13.02.2008 um 23:06 schrieb David Avendasora:

I think the best thing I could do is throw the whole inheritance structure out and simply put an "if" clause on the valueQuantity() method that returns the calculated value if nutritionValueType() returns "Calculated", or simply change nutritionValueType() to an isCalculated() boolean instead.

Yes. Do all of it.

	atze

_______________________________________________
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: 
 >Converting from one subclass to another (From: David Avendasora <email@hidden>)
 >Re: Converting from one subclass to another (From: David Avendasora <email@hidden>)

  • Prev by Date: Re: Rapid Turnaround - RESOLVED BUT RUNS SLOW -
  • Next by Date: Re: Error on saveChanges with WOBrowser or WOCheckBoxList
  • Previous by thread: Re: Converting from one subclass to another
  • Next by thread: [ANN] JBND update
  • Index(es):
    • Date
    • Thread