Tuesday, July 5, 2011

Generate set/get method at JDeveloper

If you want to generate the accessors for the fields of a class using JDeveloper, below is the way to do that.

1) Write your class with the private and public fields.

2) On the source code, right click and you'll see a menu.

3) From the menu, select "Generate accessors..."

4) It will display a box and from there you can define the accessors for your fields easily.

No comments:

Get function name programaticaly - Python

This little piece of code will help you to get the function name programatically. This is very helpful when you are implementing the debug...