Re: Overriding a field in a view model

2016-02-22 Thread Dan Haywood
Hi Vishma, It you can't change the original class - because it was written for some other purpose - then perhaps it might be better to wrap it in a view model of your own control. I'm not certain that overriding getBookType() is going to work, because it would impact any other users of that view

Overriding a field in a view model

2016-02-22 Thread Vishma Senadhi Dias
Hi all, I have a jaxb annotated view model which have several fields with getters and setters. I want to override the getter of a specific field so that different value will appear on the UI. But the original getter should not be changed. example: |public class LibraryMember { private Strin