Thanks for your answer.
I think i've not correcltly explained what i want to do. I would like to add persistent members accessors of an entity bean to its interface.
I've already tried to add the ejb.interface-method to a persistent member definition, but it doesn't work. Indeed, if I write the following code
class ABean {
/**
* @ejb.interface-method
* @ejb.persistence
* * */ public abstract String getId();
public abstract void setId(String id);
}
The getId and setId methods are not added to the A or ALocal interfaces.
Any idea to do that?
Jean-Philippe
[EMAIL PROTECTED] wrote:
Tag each method you want to appear in the local interface with
@ejb.interface-method type="local"
If you are only generating the local interface, you can drop the type attribute. There is no way to do this "automatically" that I know of. You have to tag the methods yourself.
David Harkness Sony Pictures Digital Networks (310) 482-4756
-----Original Message-----
From: Jean-philippe VIGNIEL [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 12, 2003 5:50 AM
To: [EMAIL PROTECTED]
Subject: [Xdoclet-user] Add relation or persistent member accessor to
the public interface
Hi everybody
I would like to add automaticaly all accessors of an entity bean to its local interface but i don't know how to do that.
In fact i don't understand why it is not the default behavior of the xdoclet generation.
Thanks for your help
Jean-Philippe
------------------------------------------------------- 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
------------------------------------------------------- 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
.
------------------------------------------------------- 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
