> A wise old hermit known only as Vincent Harcq 
> <[EMAIL PROTECTED]> once said:
> 
> > BTW in method="..." and parameters="..." there is 
> type="..." that is 
> > missing to be complete. I had some Boolean getSth() and boolean 
> > isSth() in one of my stuff ;-) I think I should add this one also...
> 
> You sure about that?  I just created a Test.java with
> public class Test {
>   boolean foobar() {return false;}
>   Boolean foobar() {return new Boolean(false);}
> }
> and it won't compile ("test.java:3: foobar() is already 
> defined in test"). 

I had in fact
public class Test {
   boolean isFoobar() {return false;}
   Boolean getFoobar() {return new Boolean(false);}
}

Anyway I avoid that now by using
   boolean isFoobar() {return false;}
   Boolean isFoobarBoolean() {return new Boolean(false);}

> Also, when I was working on some abstract EJB superclasses 
> recently I had 
> to have the subclasses' finders return the abstract EJB's 
> generated PK 
> because the compiler insisted the overridden methods have the 
> same return 
> type...

For this one look at sample CustomerBMPBean, you must have a @ejb:pk
class="test.interfaces.CustomerPK" generate="false" in CustomerBMPBean.

> 
> 
> Andrew.
> 

Vincent



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

Reply via email to