I found a solution.  There is an undocumented "name"
attribute under "@ejb.data-object" that I was able to
set to "ExampleData" that enabled the correct
generation of the signature on the "getData()" method.

 * @ejb.data-object
 *   name="ExampleData"
 *   class="test.interfaces.ExampleData"
 *   generate="false"

Thanks.

--- "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> I have a BMP class "ExampleBMPBMP" that generates
> the
> wrong return type ("ExampleBMPData") for the
> "getData()" method when the correct return is
> "ExampleData".  I use the following tags in
> "ExampleBMPEJB.java" to use the data object created
> by
> the super class ("ExampleEJB.java").
> 
>  * @ejb.data-object
>  *   class="test.interfaces.ExampleData"
>  *   generate="false"
> 
> The "dataHolder" field of the "getData()" method is
> set correctly to "ExampleData", but the method
> signature itself has the wrong return type--
> ExampleBMPData.
> 
>    public test.interfaces.ExampleBMPData getData()
>    {
>       test.interfaces.ExampleData dataHolder = null;
>       try
>       {
>          dataHolder = new
> test.interfaces.ExampleData();
> 
>          dataHolder.setId( getId() );
>       ...
>       
>       return dataHolder;
>    }
> 
> How do I fix this?  Is there an error in the XDoclet
> source?
> 
> TIA.
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site
> design software
> http://sitebuilder.yahoo.com
> 
> 
>
-------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built
> ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are
> available now.
> Download today and enter to win an XBOX or Visual
> Studio .NET.
>
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
> _______________________________________________
> xdoclet-user mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/xdoclet-user


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to