getter and setter using class value for interface attribute name