Sorry I didn't see your post on the jackrabbit mailing list.
This feature is not yet supported. You are welcome to create a new JIRA
issue (from Jackrabbit).

br,
Christophe


On 6/4/07, rajab57 <[EMAIL PROTECTED]> wrote:


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


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:
http://www.nabble.com/Can-jcr-mapping-be-specified-through-bean-fields-without-set-get-methods---tf3867935.html#a10958356
Sent from the Graffito - Dev mailing list archive at Nabble.com.


Reply via email to