Usage:
PropertySetter ps = new PropertySetter(anObject); ps.set("name", "Joe"); ps.set("age", "32"); ps.set("isMale", "true"); will cause the invocations anObject.setName("Joe"), anObject.setAge(32), and setMale(true) if such methods exist with those signatures. Otherwise an {@link IntrospectionException} are thrown.
@author Anders Kristensen
@author Ceki Gulcu
| |
| |
| |