Update of /cvsroot/xdoclet/xdoclet/modules/ejb/src/xdoclet/modules/ejb/dao/resources
In directory 
sc8-pr-cvs1:/tmp/cvs-serv31999/modules/ejb/src/xdoclet/modules/ejb/dao/resources

Modified Files:
        dao.xdt 
Log Message:
XDT-48 - Automatic include of find/create methods in DAO should be suppressible 

Applied patch from Ian Duggan, tested against samples and visual confirmation.

Index: dao.xdt
===================================================================
RCS file: 
/cvsroot/xdoclet/xdoclet/modules/ejb/src/xdoclet/modules/ejb/dao/resources/dao.xdt,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** dao.xdt     6 Oct 2002 17:43:17 -0000       1.4
--- dao.xdt     14 Dec 2002 01:18:17 -0000      1.5
***************
*** 19,22 ****
--- 19,24 ----
  //<Foo:ifHasCreateMethod/>
  </XDtComment:comment>
+ 
+ <XDtClass:ifClassTagValueEquals tagName="ejb.dao" paramName="create-methods" 
+superclasses="false" value="true" default="true">
      public <XDtEjbPk:pkClass/> create(<XDtClass:fullClassName/> ejb) throws 
javax.ejb.CreateException, javax.ejb.EJBException;
  <XDtComment:comment>
***************
*** 24,27 ****
--- 26,31 ----
  TODO: handle any other exceptions declared on these methods
  </XDtComment:comment>
+ </XDtClass:ifClassTagValueEquals>
+ <XDtClass:ifClassTagValueEquals tagName="ejb.dao" paramName="finder-methods" 
+superclasses="false" value="true" default="true">
  <XDtMethod:forAllMethods superclasses="false" sort="false">
  <XDtEjbHome:ifIsFinderMethod>
***************
*** 29,32 ****
--- 33,37 ----
  </XDtEjbHome:ifIsFinderMethod>
  </XDtMethod:forAllMethods>
+ </XDtClass:ifClassTagValueEquals>
  
  </XDtEjbEntity:ifEntity>



-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to