George:
I duplicated them in the Data class. An alternative is to leave the javadoc formatted method comments blank or use the javadoc tag {@inheritDoc} for all the methods inherited from DBAccess. This works perfectly fine as far as your generated javadoc documentation goes.
I fully agree with what George wrote. Now there is a third alternative path which is defendable too IMO : writing *different* comments in the javadoc of the class. Provided comments are *interface* documentation, meaning they were written at the *specification* level. At the *class* level, you may add *implementation* level comments, which don't really contrast with the interface
doc of course, but may complete it. Example : if you implemented a cache in Data, telling that your readRecord() method uses that cache doesn't hurt.
Regards,
Phil.
[ January 06, 2004: Message edited by: Philippe Maquet ]