Refactor code for better API of setters and getters
Defect: VIS-51
Authored by: namhm 2014-03-12
Parent: [r110]
Child: [r112]