I would like to clarify about variable declaration and their getter, setter methods naming conversion in java bean.
In our application,we are declaring the variable like below,
Java programmers don't usually use Hungarian notation (considered redundant in the days of strict type checking and fast IDE's), so for a variable named "fizz", the getter and setter would be "getFizz" and "setFizz". Note that boolean variables can also be "isFizz" for the getter. There is no checking that the getter and setter are in agreement with the variable declaration, so your example should work.
http://en.wikipedia.org/wiki/JavaBeans