@Override public void setValue(Object newValue) throws Property.ReadOnlyException { try { PropertyUtils.setProperty(bean, propertyName, newValue); } catch (Exception ex) { throw new RuntimeException(ex); } }
@Override public Object getValue() { try { return getDynaBean().get(propertyName); } catch (Exception e) { try { return PropertyUtils.getProperty(bean, propertyName); } catch (Exception ex) { throw new RuntimeException(ex); } } }