jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bertrand LEGA <bertrand.l...@capgemini.com>
Subject Re: Getting nodes from a multivalued reference property
Date Fri, 15 Apr 2005 08:01:03 GMT




David Nuescheler wrote:

>>>The surprising part is that there is no getNode() method in the Value
>>>class.
>>>      
>>>
>This may be surprising. The reasoning behind it is that value instances
>are not tied to a session. If we introduced a getNode() on Value we 
>would imply that a value is associated with a session.
>
>  
>
That makes sense.

Why not add an getNodes() method to the Property as we have getNode() ?  
For now, getNode() throws a exception if the property is multivalued.

>regards,
>david
>
>  
>

This message contains information that may be privileged or confidential and is the property
of the Capgemini Group. It is intended only for the person to whom it is addressed. If you
are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,
 distribute, or use this message or any part thereof. If you receive this  message in error,
please notify the sender immediately and delete all  copies of this message.


Mime
View raw message