jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Bauer <peter.ba...@apus.co.at>
Subject Multi-Valued Reference Properties
Date Mon, 16 Jun 2008 12:00:11 GMT

Hi all,

it seems that many people are using properties storing multiple references, but i can't find
out how to do so. According to the JCR API, there are the following methods for setting multi-valued

setProperty(java.lang.String name, java.lang.String[] values)
setProperty(java.lang.String name, java.lang.String[] values, int type)
setProperty(java.lang.String name, Value[] values)
setProperty(java.lang.String name, Value[] values, int type)

So a REFERENCE has to be either converted into a String (UUID String -> referential integrity?)
or into a Value (how?).


View raw message