You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by Thomas Bopp <as...@uni-paderborn.de> on 2006/08/02 11:12:45 UTC
Multi value References ?
Hi there!
I was going to add a Multi-value Reference, but there is no getNode()
Method in the Value class.
Are multi value references generally not supported or am I missing
something ?
Regards,
::Thomas
Re: Multi value References ?
Posted by Stefan Guggisberg <st...@gmail.com>.
On 8/2/06, Thomas Bopp <as...@uni-paderborn.de> wrote:
> Hi there!
>
> I was going to add a Multi-value Reference, but there is no getNode()
> Method in the Value class.
> Are multi value references generally not supported or am I missing
> something ?
see http://thread.gmane.org/gmane.comp.apache.jackrabbit.devel/1709/focus=1709
cheers
stefan
>
> Regards,
> ::Thomas
>
>
>
Re: Multi value References ?
Posted by Piyush Purang <pp...@gmail.com>.
I guess you have to use
Session#getNodeByUUID(String) so something like
session.getNodeByUUID(value.getString());
Personally I'd expect one for each of these
* PropertyType.STRING
* PropertyType.DATE
* PropertyType.BINARY
* PropertyType.DOUBLE
* PropertyType.LONG
* PropertyType.BOOLEAN
(The ones above are already covered)
* PropertyType.NAME
* PropertyType.PATH
* PropertyType.REFERENCE
If not then atleast some more explanation in the javadocs?
On 8/2/06, Thomas Bopp <as...@uni-paderborn.de> wrote:
> Hi there!
>
> I was going to add a Multi-value Reference, but there is no getNode()
> Method in the Value class.
> Are multi value references generally not supported or am I missing
> something ?
>
> Regards,
> ::Thomas
>
>
>