Re: Converting from one subclass to another
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