RE: [Xdoclet-user] Inheritance Problem in generating DataObject

2002-04-19 Thread Ara Abrahamian
Re: [Xdoclet-user] Inheritance Problem in generating DataObject > > At 16:03 2002-04-19 +1000, Dmitri Colebatch wrote: > >As I understand it, what Lanh is asking for is this: > > > > public AdministratorData( AdministratorData otherData ) > > { > >

RE: [Xdoclet-user] Inheritance Problem in generating DataObject

2002-04-19 Thread Vincent Harcq
; > 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: [Xdocle

Re: [Xdoclet-user] Inheritance Problem in generating DataObject

2002-04-18 Thread Dmitri Colebatch
> C++ terminology. :-) A constructor that has an argument of the same type > as itself with the job to create a "copy" of that object. (o: ahhh, thankyou I'm obviously showing my lack of c++ programming knowledge... shouldn't be too hard at all to do, will have a look tonight. cheers d

Re: [Xdoclet-user] Inheritance Problem in generating DataObject

2002-04-18 Thread Daniel Bratell
> > Oh, yes. Of course. That seems very reasonable, but it would require the > > base class to define a copy constructor. Is that a too hard requirement? > >not sure what you mean by a copy constructor, you mean taking defensive >copies? I wouldn't see that we'd need to go that far... C++ term

Re: [Xdoclet-user] Inheritance Problem in generating DataObject

2002-04-18 Thread Dmitri Colebatch
> >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? > > Oh, yes. Of course. That se

Re: [Xdoclet-user] Inheritance Problem in generating DataObject

2002-04-18 Thread Daniel Bratell
At 16:03 2002-04-19 +1000, Dmitri Colebatch wrote: >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? Oh

Re: [Xdoclet-user] Inheritance Problem in generating DataObject

2002-04-18 Thread Dmitri Colebatch
atell" <[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.

Re: [Xdoclet-user] Inheritance Problem in generating DataObject

2002-04-18 Thread Daniel Bratell
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( A

[Xdoclet-user] Inheritance Problem in generating DataObject

2002-04-18 Thread Lanh TRAN VAN
Hi, This is the code generated by Xdoclet for a Data class of an entity bean: public class AdministratorData extends sdc.smart.user.UserData implements java.io.Serializable { static final long serialVersionUID = 821305460747458512L; public AdministratorData() { } public Adm