Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 32663 invoked from network); 25 Nov 2008 18:57:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Nov 2008 18:57:44 -0000 Received: (qmail 31026 invoked by uid 500); 25 Nov 2008 18:57:52 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 31009 invoked by uid 500); 25 Nov 2008 18:57:52 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 30998 invoked by uid 99); 25 Nov 2008 18:57:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Nov 2008 10:57:52 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aklimets@day.com designates 207.126.148.181 as permitted sender) Received: from [207.126.148.181] (HELO eu3sys201aog001.obsmtp.com) (207.126.148.181) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 25 Nov 2008 18:56:24 +0000 Received: from source ([209.85.132.246]) by eu3sys201aob001.postini.com ([207.126.154.11]) with SMTP ID DSNKSSxKg8EHMa9SQQWR09cTBPcL2fjCtW4k@postini.com; Tue, 25 Nov 2008 18:57:10 UTC Received: by an-out-0708.google.com with SMTP id d40so66644and.27 for ; Tue, 25 Nov 2008 10:57:07 -0800 (PST) Received: by 10.100.133.2 with SMTP id g2mr2480658and.134.1227639426965; Tue, 25 Nov 2008 10:57:06 -0800 (PST) Received: by 10.100.42.14 with HTTP; Tue, 25 Nov 2008 10:57:06 -0800 (PST) Message-ID: Date: Tue, 25 Nov 2008 19:57:06 +0100 From: "Alexander Klimetschek" To: users@jackrabbit.apache.org Subject: Re: reference inbetween the nodes In-Reply-To: <20681556.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20681516.post@talk.nabble.com> <20681556.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org 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 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