On 01/06/2012, at 6:20 AM, Ramsey Gurley wrote:

> Create a method called availableBillingStatuses() on the eo. It returns the 
> list of possible billing statuses the object can have in its current state. 
> Then just use object.availableBillingStatuses. 
> 
> Not only does that solve the problem, but it permits the removal of statuses 
> that don't make sense. For example, if amountDue == $0, then billingStatus == 
> PAST_DUE doesn't make sense.

Thanks Ramsey.  I like that.


-- 
Paul Hoadley
http://logicsquad.net/



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to