incubator-graffito-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajab57 <>
Subject Can jcr mapping be specified through bean fields without set/get methods ?
Date Mon, 04 Jun 2007 21:02:07 GMT


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,

I have already posted this question in jackrabbit forum. Sorry for posting
this here again. I was not sure if anybody is checking graffito related
questions there.

View this message in context:
Sent from the Graffito - Dev mailing list archive at

View raw message