Bugs item #517022, was opened at 2002-02-13 07:51 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=402704&aid=517022&group_id=31602
Category: ejbdoclet Group: cvs Status: Open Resolution: None Priority: 5 Submitted By: Matt (mpetteys) Assigned to: Nobody/Anonymous (nobody) Summary: Patch: get/set methods for ejb:relation Initial Comment: Attached is a patch to create setter/getter methods for functions that are part of an ejb:relation. With an ejb:relation you want still want the getter setter method published in the interface so you can modify the relationship but you cannot mark the method as ejb:persistent-field because that field is created in the database through the defined relationship. So this method looks through the methods looking for the ejb:relation fields and creating the getter/setter methods. cvs -z9 diff entitycmp.j (in directory C:\java\xdoclet\core\resources\xdoclet\ejb\) Index: entitycmp.j ======================================================= ============ RCS file: /cvsroot/xdoclet/xdoclet/core/resources/xdoclet/e jb/entitycmp.j,v retrieving revision 1.32 diff -r1.32 entitycmp.j 40a41,50 > <XDtMethod:forAllMethods> > <XDtMethod:ifHasMethodTag tagName="ejb:relation"> > public abstract <XDtMethod:methodType/> <XDtMethod:getterMethod/>() <XDtMethod:exceptionList/>; > <XDtMethod:ifHasMethod name="<XDtMethod:setterMethod/>" parameters="<XDtMethod:methodType/>"> > public abstract void <XDtMethod:setterMethod/>( <XDtMethod:methodType/> <XDtMethod:propertyName/> ) <XDtMethod:exceptionList method="<XDtMethod:setterMethod/>"/>; > </XDtMethod:ifHasMethod> > > </XDtMethod:ifHasMethodTag> > </XDtMethod:forAllMethods> > *****CVS exited normally with code 1***** ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=402704&aid=517022&group_id=31602 _______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
