Hello everyone,
normally, when I create value objects with XDoclet, setters and getters are created taht reflect the methods of the original bean. I now have to modify this behavior in a way that - for a few selected methods - only getters are generated. So my idea was:
a) Create a custom, boolean tag for the value object task (e.g. @getterOnly) that is picked up by the template file
b) Create a custom template file based on the original one, thats reacts to the custom tag.
Question 1: Is this a feasible solution and/or is there a betetr one?
Question 2: If yes: How would I do this? I knwo there is probably tons of documentation on this, but I don't really have time to go through it all, so if anyone has done something similar before (custom tag???) and could give me a quick overview, I would really appreciate it!!!
Thanks very much in advance
Maik
-- Simply Efficient - IT Services, Consulting, Training "We Keep Our Promises" 2437 W 13th Ave Vancouver, BC http://www.simplyefficient.ca
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user