There is no built-in automatic conversion from String to Boolean or boolean - although there are utility methods to help with that.
I haven't tried this, so I am not 100% sure, but the most likely thing is that you should change the signature of setBaseType so that it takes a String, and then use the Boolean.parseBoolean(String) method to parse the string 'true' into the booloean value true.
- public void setBaseType(String value) {
- this.isBaseType = Boolean.parseBoolean(value);
- }