The following is a patch for entity object using CMP which have ejb
relations defined for them.  Currently, the abstract functions for the
methods which have relation defined for them are not created in the CMP
object because they are not marked as persistent but still need to be
created in the CMP class.  This goes through the functions and looks for
methods that have the ejb:relation tag and creates them in the CMP class.

Index: entitycmp.j
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/core/resources/xdoclet/ejb/entitycmp.j,v
retrieving revision 1.29
diff -r1.29 entitycmp.j
23a24
>
35a37,47
>
>   <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>
>


_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to