You need to use a binding file to do this. You can see a sample of binding file here:
http://castor.exolab.org/phpBB2/viewtopic.php?t=9 And there is more information here: http://castor.exolab.org/sourcegen.html#Binding-File --Keith [EMAIL PROTECTED] wrote: > > Hello Bruce and all, > > is it possible to predefine the names of getter/setter methods for the > castor generator?? > > I have the following Problem: > I defined an attribute 'cardRecordCount' and a tag 'cardRecord'. > Castor creates the same method for both getter Methods which leads to an > error. > > public java.lang.String getCardRecordCount() > { > return this._cardRecordCount; > } //-- java.lang.String getCardRecordCount() > > /** > * Method getCardRecordCount > */ > public int getCardRecordCount() > { > return _cardRecordList.size(); > } //-- int getCardRecordCount() > > Thanks!! > -Youssef > > ----------------------------------------------------------- > 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