Feature Requests item #449838, was opened at 2001-08-10 09:18 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=402707&aid=449838&group_id=31602 Category: None Group: None Status: Open Priority: 5 Submitted By: Andrew Stevens (stevensa) >Assigned to: Vincent Harcq (vharcq) Summary: Generate only getter for persistent flds Initial Comment: Currently, if I indicate a persistent field in an entity bean, the generated BMP or CMP class automatically contains both a getter and a setter method for it. I have a database table with some columns that are filled in automatically by a trigger. I want to include these in my entity bean, so they can be queried/displayed, but they need to be read only; while I can have the setter method throw an exception and/or not be included in the remote interface, ideally I'd like it not to be there at all. Likewise, I suppose it's possible (though extremely unlikely) that a persistent field might be required to be write- only and so not need a getter. It would therefore be nice if XDoclet could generate just a getter or setter in the BMP/CMP class, as required. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=402707&aid=449838&group_id=31602 _______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/xdoclet-devel
