Alright, I've forwarded this onto dev to check a couple of things, but it seems very doable. I'll just see what other ppl think about it... (invitation for comment (o: )...
What I'm thinking is extending ifHas/DoesntHaveMethod to include a return type and superclasses option. Then basically use that in the home interface generation to prevent creating conflicting create methods... I suppose it applies equally to finder and home methods...? cheers dim > > ok, I might be corrected on this later on today, but if I run on the > > assumption that what you are trying to do is not currently catered for by > > XDoclet, then the best thing to do is figure out what you want to do... > > > > You have component interfaces Base and AAA. AAA extends Base. You want > > to have home interfaces BaseHome and AAAHome, with AAAHome extending > > BaseHome. In BaseHome you want something like: > > > > public Base create() throws ... > > > > and then in AAAHome would need to _not_ have this: > > > > public AAA create() throws ... > > > > which I'm guessing is what you're getting atm. > > > > So what you want, is when generating the home interface, to check that > > there is not already a "compatable" create method in a > > superclass? correct? > > *******ABSOLUTELY! > > Thanks! > > Michael. > > > > > _______________________________________________ > Xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > _______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
