Update of /cvsroot/xdoclet/xdoclet/modules/ejb/src/xdoclet/modules/ejb/home
In directory sc8-pr-cvs1:/tmp/cvs-serv30461/modules/ejb/src/xdoclet/modules/ejb/home

Modified Files:
        HomeTagsHandler.java 
Log Message:
fixed XDT-49


Index: HomeTagsHandler.java
===================================================================
RCS file: 
/cvsroot/xdoclet/xdoclet/modules/ejb/src/xdoclet/modules/ejb/home/HomeTagsHandler.java,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -r1.21 -r1.22
*** HomeTagsHandler.java        30 Oct 2002 22:33:04 -0000      1.21
--- HomeTagsHandler.java        21 Nov 2002 17:26:40 -0000      1.22
***************
*** 961,964 ****
--- 961,983 ----
  
      /**
+      * generates name for finder utility class backing current finder
+      *
+      * @return
+      * @exception XDocletException
+      * @doc.tag                     type="content"
+      */
+     public String finderClass() throws XDocletException
+     {
+         String sig = currentSignature();
+         int start = sig.indexOf("find");
+         int end = sig.indexOf("(");
+ 
+         if (start >= 0 && end > start) {
+             return sig.substring(start, start + 1).toUpperCase() + 
+sig.substring(start + 1, end);
+         }
+         throw new XDocletException("can not parse signature: " + sig);
+     }
+ 
+     /**
       * whether current finder return collection
       *
***************
*** 998,1001 ****
--- 1017,1021 ----
       * @param param
       * @exception XDocletException
+      * @doc.tag                     type="content"
       */
      public void ifIsInterfaceType(String template, Properties param) throws 
XDocletException
***************
*** 1022,1025 ****
--- 1042,1053 ----
      }
  
+ 
+     /**
+      * return definition of parameter list for definition for current home method
+      *
+      * @return
+      * @exception XDocletException
+      * @doc.tag                     type="content"
+      */
      public String parameterListDefinition() throws XDocletException
      {
***************
*** 1034,1037 ****
--- 1062,1072 ----
      }
  
+     /**
+      * return parameter list for invocation
+      *
+      * @return
+      * @exception XDocletException
+      * @doc.tag                     type="content"
+      */
      public String parameterList() throws XDocletException
      {



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to