You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by far4ever <fa...@gmail.com> on 2008/11/25 14:48:21 UTC

reference inbetween the nodes


-- 
View this message in context: http://www.nabble.com/reference-inbetween-the-nodes-tp20681516p20681516.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Re: reference inbetween the nodes

Posted by Alexander Klimetschek <ak...@day.com>.
JCR has a property type called REFERENCE (see sections 4.7.2, 4.9 and
6.2.5.4 of the JCR spec [1] or the javadocs of
Node.setProperty(java.lang.String name, Node value) [2]). But also
have a look at rule 5 of Davids Content Model Guide [3]. And also look
for previous discussions of this topic on this mailing list, for
example [4].

[1] http://jcp.org/en/jsr/detail?id=170
[2] http://day.com/maven/jsr170/javadocs/jcr-1.0/
[3] http://wiki.apache.org/jackrabbit/DavidsModel
[4] http://markmail.org/message/76rck7bgsmnsg6cr

Regards,
Alex

On Tue, Nov 25, 2008 at 2:54 PM, far4ever <fa...@gmail.com> wrote:
>
>
> hi i have a node structure as bellow...
>
> treatment  ---> complaints,  diagnosis,  prescription
> complaints --> (contains many nodes)
> diagnosis --> (contains many nodes)
> prescription --> (contains many nodes)
>
> here i would like to have reference between nodes in each of this child
> nodes (one child node in complaint should have reference to one in diagnosis
> and prescription) is it possible....
> thanks in advance..
> --
> View this message in context: http://www.nabble.com/reference-inbetween-the-nodes-tp20681516p20681556.html
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
>
>



-- 
Alexander Klimetschek
alexander.klimetschek@day.com

Re: reference inbetween the nodes

Posted by far4ever <fa...@gmail.com>.

hi i have a node structure as bellow...

treatment  ---> complaints,  diagnosis,  prescription
complaints --> (contains many nodes)
diagnosis --> (contains many nodes)
prescription --> (contains many nodes)

here i would like to have reference between nodes in each of this child
nodes (one child node in complaint should have reference to one in diagnosis
and prescription) is it possible....
thanks in advance..
-- 
View this message in context: http://www.nabble.com/reference-inbetween-the-nodes-tp20681516p20681556.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.