make model getValue and setValue protected