Hi,

 

You can certainly add the needed business logic by extending the generated classes and then create a mapping file for those classes.

You can also put some logic in a base class and make your generated classes extend that base class by setting the option in castorbuilder.properties.

 

I advise you to search in the mailing list archive, this topic has been discussed in the past.

 

Hope that helps,

Arnaud

 

 

-----Original Message-----
From: Othman Haddad [mailto:[EMAIL PROTECTED]]
Sent:
Tuesday, July 16, 2002 10:31 AM
To: [EMAIL PROTECTED]
Subject: [castor-dev] class extension...

 

hi everybody,

i find castor a good product, but the only thing is that we don't have enough controle on generated classes, so:

  how can i reuse the generated java classes from an xsd file?, by exteding them?

can you give an example of class customization?

thanks

 

 

 

________________________________________________________________
  IncrediMail - La messagerie �lectronique a enfin �volu� - Cliquer ici

Reply via email to