Hi Sriganesh,

Users in the past have reported their interest into adding that support
in the generated classes but never came back to us with a patch. It is
very straight forward though. I advise you to take a look at
org.exolab.castor.builder.SourceFactory#createEqualsMethod, it should
drive your implementation.

Arnaud
 
> -----Original Message-----
> From: Sriganesh Sundaram [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 03, 2002 9:48 PM
> To: [EMAIL PROTECTED]
> Subject: [castor-dev] Generating Cloneable objects
> 
> Hi All,
>     I wanted to know if there is a way to generate Cloneable (deep
copy)
> classes using CastorXML?. We have such a requirement and currently we
perform
> a manual copy of the Castor objects. Would be great if Castor
generates the
> cloning logic.
> 
> TIA,
> Sriganesh
> 
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
>       unsubscribe castor-dev

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to