Add Get & Set

Back Home Up

 

 

Add Get & Set (c)1999 RobertZ (www.RobertZ.com)

script for adding get and set operations for attributes and navigable relationships. You can compile the script and add an entry to one of menus to be able to easily invoke the script. To generate get/set methods, select classes and execute the script. The script will:

  • Loop through all selected classes
  • For each class, loop through all attributes and generate getter and setter for each attribute, with some initial javadoc, unless there is already getter and setter for this attribute
  • For each class, loop through all navigable associations and generate the corresponding getter end setter for the role, with some initial javadoc, unless there is already getter and setter for this role.

More Information

www.robertz.com/RoseResources.htm

Download (4KB)

www.robertz.com/download/AddGetSet.ebs


All products mentioned are registered trademarks or trademarks of their respective companies.
Send mail to webmaster@rationalrose.com with questions or comments about this web site. 
Copyright © 1999 Michael Moors
Last modified: December 23, 1999