+1  A: 

Your Metadata class is ill-designed JavaBean, it does not conform to the spec: The setter uses a parameter of type MetadataTypeEnum, but the return type of the getter is String.

mhaller
You are right, thanks for your reply...
Shamik