Description

the toString() could cause some problem: imagine that my property is a Date and
I would like it to be converted to an Integer like this:

context.getValue("record/lastModificationDate", Integer.class);

The toString() will get me something like 'November Wed 17h, 2002' then will
try to convert this to a number which is kinda problematic because it is now a
string and you've lost the fact that it was a date before (which is required to
know how to convert it).

I propose to skip the toString() by directly using the looked up Converter
which can take an object as argument instead of a string: