Re: Help with understanding relationships. What about the arrows?
Re: Help with understanding relationships. What about the arrows?
- Subject: Re: Help with understanding relationships. What about the arrows?
- From: Art Isbell <email@hidden>
- Date: Sun, 12 Oct 2003 10:09:39 -1000
On Sunday, October 12, 2003, at 09:06 AM, Denis Stanton wrote:
On Sunday, October 12, 2003, at 05:35 PM, Chuck Hill wrote:
when an entity is displayed as a list of attributes with a list
of relationships at the bottom, some of the relationships have
little
arrows pointing left and tight next to them. I have not found any
explanation of what this means. Some have arrows and some don't, but
it
doesn't SEEM to matter. I'm guessing that this symbol is related
(all
puns intentional) to the subject under discussion.
This is for Java Client, it indicates which are client side
properties.
Begging your pardon, but that sounds unlikely. I'm not using Java
Client, and never have.
Doesn't matter. The same eomodel can be used in any type of WO
project including Java Client.
I'm taking about the column of symbols that appears on the left of the
list of entity relationships in EOM.
EOModeler is customizable including which columns are displayed and in
what order. So what appears on the left in your EOModeler may not
appear on the left for everyone else.
The first column contains either > or >>, indicating a one to one or
one to many relationship.
I can't figure out what column displays that info. Either the version
of EOModeler I'm using, 5.2, doesn't have this column or I don't know
how to display it. I name to-many relationships as plural nouns and
to-many, as singular nouns, so I can determine a relationship's
cardinality from its name.
The second column contains black diamonds. I understand what these
mean for attributes, though I'm not so sure for relationships.
Same meaning. If a relationship is a class property, it will exist in
the object graph in your app which means you can access it from your
Java code.
The third column sometimes contains two little arrow pointing opposite
ways.
Select that column and press "Delete". That will remove the column
but make it available for adding in the "Add column..." pop-up at the
bottom of the relationship table. It's called "Client-Side Class
Property".
Sometimes this symbol appears against a relationship. and sometime
not. I have not been able to figure out when it appears, or how to
control it.
If this eomodel isn't used in a Java Client app, it doesn't matter.
Aloha,
Art
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.