If I understand you correctly, then you consider the ZipLocation to be
the parent of the State?

My understanding of the situation is the reverse, one State may have
one or more ZipLocations, so one ZipLocation belongs to one State.

So your diagram looks correct with regard to the relationship between
ZipLocation and State :)
Enjoy,
   John

On Mar 18, 4:41 am, TheHerk <theh...@gmail.com> wrote:
> Here is a link to a screenshot of a class diagram I am working on,
> with noted model associations. There are several relationships in the
> diagram that feel wrong to me. The one in the diagram that illustrates
> this is between ZipLocation and State. In this case, state is
> enumerated in its own table. For some reason, to me, it seems strange
> that  ZipLocation, the parent, is belongsTo. I keep thinking in my
> head, “Each ZipLocation has one associated State,” but it doesn't seem
> to work that way. There are several more instances of this dilemma,
> but they are just the same.
>
> http://i8.photobucket.com/albums/a24/atomickeg/public/classes.png
>
> Does this look remotely correct?

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to