Werner-

Any reason you're interested in JDO side first?  I'm only using XML, and I would also like to see this capability added...  That being said, I'm not sure I have the time to work up the patch for XML, but I guess I can look at it when I do find some time.

And my personal opinion would be a modification to the mapping file specifying that Castor should use reflection to get at the field (I'm not sure if there is any way to do this other than reflection).  The mapping file has the advantage that I can define this property on a field by field basis.

Stephen


On 2/1/06, Werner Guttmann <[EMAIL PROTECTED]> wrote:
Based upon this little discussion, is anybody willing to come up with an
initial patch (specific to Castor JDO initially, if possible) ? That
patch should take care of the following tasks:

* identify the contract (if required at all); iow, define a way that
users can instruct Castor to access private getter/setters. This could
be either a configuration option via castor.properties, or be in form of
an amendment to the mapping file.
* identify the main areas of change (iow, include some meaningful
(though minimal) documentation.
* make the necessary changes in for of a unified patch.

Having said that, I think that I'd like to see a initial contribution
from somebody else than me and/or Ralf ... ;-).

l4l
Werner

Gregory Block wrote:
>
> On 25 Jan 2006, at 20:08, Jay Goldman wrote:
>
>> IMHO this gives castor license to cross the public/private 'barrier'
>> when the user of castor has asked for this behavior ( i.e., via
>> direct="true") just as java serialization allows for the setting of
>> private data.
>
>
> *cheer*
>
> 150% behind you.  :)
>
> -------------------------------------------------
> If you wish to unsubscribe from this list, please send an empty message
> to the following address:
>
> [EMAIL PROTECTED]
> -------------------------------------------------
>
>


-------------------------------------------------
If you wish to unsubscribe from this list, please
send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------


Reply via email to