|
I'm placing my data validation code in the setters. Is this not the "correct" place? Kyle On Tue, 01 Mar 2005 09:17:57 +0000, Joel Cochran <jrc@xxxxxxxxxx> wrote: > On Mon, 2005-02-28 at 16:45, Kyle Collie wrote: > > We have three current projects in various stages using RPGBeans. > > (Gerat tool, Joel!) > > > > I think I understand that I can customize the source created by using > > a customized template file. I have copied TEMP_MAIN and added some > > custom code and it seems to work well. > > > > My question: There is nothing in the template for the setters and > > getters. How could I add customization to these? > > The getters and setters are completely written when the tool runs, > because the only goal of them is to read and write the variable value. > As such, they are not in the template and are not customizable. > > You can add any additional procedures you wish, and you can use certain > replacement variables which the tool will populate accordingly. > > This is explained in the documentation on the website at: > http://www.rpgbeans.com/docs/CRTRPGBEAN.php > > Joel > > _______________________________________________ > This is the RPGNext Discussion and Information (RPGNext) mailing list > To post a message email: RPGNext@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/rpgnext > or email: RPGNext-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpgnext. >
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.