In this post I am going to describe you how to generate setter and getter function automatically for elements of the class.
First of all go to any of the elements of the class, right click on it and go to sources and there you will find the option of many types like this image.
![]() |
Generate Getters and Setters |
Click on the Generate Getters and Setters.
Now It will ask for which elements you want to create those function. Select those elements by cheking those check boxes and click on finish.
I hope it helps. If you find any problem related this describe it in comment. May be I can help you.
Thanks for visiting my blog. Share it , like it or comment it If you like my post. Check again for new posts.