Re: ERXMutableArray fields in Entity Modeler
Re: ERXMutableArray fields in Entity Modeler
- Subject: Re: ERXMutableArray fields in Entity Modeler
- From: Chuck Hill <email@hidden>
- Date: Mon, 21 Apr 2008 12:48:43 -0700
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.
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.
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