Re: ERXMutableArray fields in Entity Modeler
Re: ERXMutableArray fields in Entity Modeler
- Subject: Re: ERXMutableArray fields in Entity Modeler
- From: Jeff Schmitz <email@hidden>
- Date: Mon, 21 Apr 2008 22:59:39 -0500
On Apr 21, 2008, at 2:48 PM, Chuck Hill wrote:
On Apr 18, 2008, at 8:21 PM, Jeff Schmitz wrote:
That entirely depends on what you need and how you need to use
it. If you give the details, we can guide you to a solution.
Well, if you want to get specific, one place I'd like to use it
would be an array of integers saved with each Pool object,
containing a point value for the games in each round. The values
themselves need to be changeable for each pool, but the size would
be constant so it doesn't need to be mutable,
Um, no. Mutable also means that the contents can change, not just
the size.
As the late, great Johnny Carson would say, "I did not know that".
since the number of rounds in a tournament is known and static,
e.g. for the NCAA tournament the size would be 6, since there are 6
rounds. This is the only "per round" information that needs to be
kept.
I'd be tempted to make this into an EO with an order attribute, an
point attribute, and relationship to Pool.
That's what I ended up doing.
Thanks,
Jeff
Chuck
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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