David Nuescheler wrote:
does this sound like a parent child relationship?
no. I shouldn't have used the example "mother", "parent", "child" ;-)
or a reference?
that's what I thought first, but IIUC this cannot be used, because
it's basically just a symbolic/soft link, right?
Well, it's really like associations within TopicMaps.
I have currently implemented it by creating a sub-node called "associations"
and then using multi-valued properties for each type of association and
using the UUID strings of the associated nodes for the values.
E.g. a project can be associated with multiple tasks/issues, or a
owner/person
can be associated with multiple projects or multiple tast/issues.
But I am sure this could be done a bit more generic ;-)
Maybe it's something for a future verision of JSR-170 ...
Thanks
Michi
regards,
david
On 7/27/05, Michael Wechner <[EMAIL PROTECTED]> wrote:
Hi
I would like to create bi-directional associations between nodes, e.g.
a "JIRA issue" is associated with a "JIRA project/component"
or
a "person" is associated with a "mother" or "father" (is child of OR
has child)
Is there any best practice for doing this within JCR?
It seems to me kind of similar to referencable, but IIUC referencable is
basically a symbolic/soft link and hence cannot be (mis-)used.
Thanks
Michi
--
Michael Wechner
Wyona - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
[EMAIL PROTECTED] [EMAIL PROTECTED]
--
Michael Wechner
Wyona - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
[EMAIL PROTECTED] [EMAIL PROTECTED]