jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashley Martens" <marte...@asconline.com>
Subject RE: References
Date Mon, 13 Feb 2006 20:43:10 GMT
I get it now. I'm not supposed to get B, I'm supposed to get (Property p = B.ref) which points
to A. So I need to do p.getParent to get B.

-----Original Message-----
From: Ashley Martens [mailto:martensa@asconline.com]
Sent: Monday, February 13, 2006 12:03 PM
To: jackrabbit-dev@incubator.apache.org
Subject: References

I'm having a problem with getReferences() that I hope someone can help me with.

I create node A, an nt:file with mix:versionable.
I create node B, an nt:base with a reference property.
I set B.ref = A.getUUID().
When I execute A.getReferences() I do not get B.

What am I doing wrong?

View raw message