On Mon, 2003-03-24 at 20:20, Hunter Hillegas wrote: > I have xdoclet generating value objects for my CMP entities. That's working > fine. > > xdoclet doesn't seem to add the value object methods (getXXX()) to the local > interfaces I am using. Is there a way to have it do this? Otherwise, I have > a hard time using the value objects.
If you want the getters and/or setters to appear in interfaces, you need to tag them with an @ejb.interface tag. "How do I do that, when they're generated in the CMP subclass?" I hear you ask. Simple, just add an abstract method with the same signature in your bean class and put the tag on that. If you're using composite VOs, you'll need to add appropriate ejbCreate methods in the related bean class as well. Andrew. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
