Hi,

The name ContactInfo is maybe inappropriate and it is even possible that it could have been a Composition but nevertheless I would like to know how to do the xdoclet mappings in order to reprensent inheritance.

François


Mark Lundquist wrote:

Hi Eric,

I don't have the answer to your joined-subclass problem, but...

On Jul 14, 2004, at 11:04 AM, François Eric wrote:

<..snip>
I have a class Person which inherits ContactInfo
<snip..>


This reads like the classic example of where composition should have been used instead of inheritance. Is a Person really "a kind of ContactInfo"? Usually you think of a Person as "having" contact info. Is this a legacy object model that you can't fix?

~ml



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id040&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user






------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idG21&alloc_id040&op=click _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to