jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajab57 <rajalaks...@gmail.com>
Subject [jcr-mapping] Can jcr mapping be done through bean fields without set/get methods ?
Date Fri, 01 Jun 2007 17:53:07 GMT

Hi,

I would like to do jcr mapping for a java class through the fields. I have
some scenarios where
I would like to expose only the getter and not allow it to be modified. Also
these objects are in states where they cannot be directly used with set and
get from outside. In these situations, i woulld like to write java Beans
without the getter/setter pair.

When I do such a mapping I get an error message that the setter method is
not there.

I looked at the graffito-jcr-mapping.dtd to see if there were any flags that
can handle the case without set/get. But I could not find any. 

Is there a way to specifiy java class without setter/getter for jcr Mapping
?

Thanks for the help in advance,

Raji
-- 
View this message in context: http://www.nabble.com/-jcr-mapping--Can-jcr-mapping-be-done-through-bean-fields-without-set-get-methods---tf3853674.html#a10917579
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Mime
View raw message