on 5/6/01 1:42 PM, "Jon Stevens" <[EMAIL PROTECTED]> wrote:

> So, what I would like to see is that copy() method be moved by generated
> default from the "BaseModule" class into the "Module" class. This way, I can
> edit the method to override the default functionality of the copy() method.
> 
> It is a somewhat confusing thing to explain, so I hope that makes sense...

Actually, now that I think about it, a better thing to do would be:

Module.getNewModule();
abstract BaseModule.getNewModule();

Then, provide a default implementation of that method in Module and have the
copy() method stay in BaseModule and have it refer to getNewModule() (or
getNewInstance()).

That way, I only have to override the getNewModule() method in the Module
class.

-jon

-- 
If you come from a Perl or PHP background, JSP is a way to take
your pain to new levels. --Anonymous
<http://jakarta.apache.org/velocity/ymtd/ymtd.html>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to