You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cayenne.apache.org by Thomas Bernhard <tb...@yahoo.com> on 2007/10/31 18:36:37 UTC

CM: Why is the DataMap displayed twice in the tree?

Why is the DataMap displayed twice in the "structure" tree of CM?
Once it's directly under the Domain node (and it has children nodes), and
once under the DataNode (it has no children nodes displayed).

Are the two different? Or what's the purpose of this duplication?

Thanx,
Tom.
-- 
View this message in context: http://www.nabble.com/CM%3A-Why-is-the-DataMap-displayed-twice-in-the-tree--tf4726695.html#a13514732
Sent from the Cayenne - User mailing list archive at Nabble.com.


Re: CM: Why is the DataMap displayed twice in the tree?

Posted by Andrus Adamchik <an...@objectstyle.org>.
On Oct 31, 2007, at 7:40 PM, Mike Kienenberger wrote:
> Both DataMaps and DataNodes are "root" objects.

....

> The second is the DataMaps listed for a particular DataNode.

Yep. This is a representation of an association between DM and DN.  
Sort of a tree view of a graph that is not really a tree. Not sure  
how else to show that link...

> More than one DataNode may contain the same DataMap.

Actually no, as a DataMap can only be linked to a single DataNode.

Andrus

Re: CM: Why is the DataMap displayed twice in the tree?

Posted by Mike Kienenberger <mk...@gmail.com>.
Both DataMaps and DataNodes are "root" objects.

The first is the DataMap itself.

The second is the DataMaps listed for a particular DataNode.
More than one DataNode may contain the same DataMap.

On 10/31/07, Thomas Bernhard <tb...@yahoo.com> wrote:
>
> Why is the DataMap displayed twice in the "structure" tree of CM?
> Once it's directly under the Domain node (and it has children nodes), and
> once under the DataNode (it has no children nodes displayed).
>
> Are the two different? Or what's the purpose of this duplication?
>
> Thanx,
> Tom.
> --
> View this message in context: http://www.nabble.com/CM%3A-Why-is-the-DataMap-displayed-twice-in-the-tree--tf4726695.html#a13514732
> Sent from the Cayenne - User mailing list archive at Nabble.com.
>
>