Yep that is correct Pleeeease bug report else forgotten in 2 sec ;) > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf > Of Dmitri Colebatch > Sent: vendredi 19 avril 2002 8:04 > To: [EMAIL PROTECTED]; Daniel Bratell > Subject: Re: [Xdoclet-user] Inheritance Problem in generating > DataObject > > > As I understand it, what Lanh is asking for is this: > > public AdministratorData( AdministratorData otherData ) > { > super(otherData); > ... > } > > yes? > > I can see the argument for that? anyone else, thoughts? > > cheers > dim > > ----- Original Message ----- > From: "Daniel Bratell" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, April 19, 2002 3:58 PM > Subject: Re: [Xdoclet-user] Inheritance Problem in generating > DataObject > > > > At 11:18 2002-04-19 +0700, Lanh TRAN VAN wrote: > > >public class AdministratorData > > > extends sdc.smart.user.UserData > > > implements java.io.Serializable > > >{ > > > static final long serialVersionUID = 821305460747458512L; > > > public AdministratorData() > > > { > > > } > > > public AdministratorData( AdministratorData otherData ) > > > { > > > } > > >.. > > >} > > > > > >Why the UserData constructor is not called inside the > > >AdministratorData constructor? > > > > The parent class constructor without any arguments is called by > > default > > before entering the child class constructor when nothing > else is said in > > Java. You only have to make the call yourself when you want > to, or need to > > specify arguments to a parent class constructor. So, if > I've understood you > > correctly, this has nothing to do with XDoclet. > > > > /Daniel > > > > > > _______________________________________________ > > Xdoclet-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > > > > > _______________________________________________ > Xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > >
_______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
