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 )
> > {
> >
;
> 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
> 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
> > 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
> >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
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
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.
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
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