PropertyMetaData pmd = getExactPropertyMetaData(attachment, name);
PropertyInfo propertyInfo = beanInfo.getProperty(name);
if (pmd instanceof AbstractPropertyMetaData)
{
AbstractPropertyMetaData apmd = (AbstractPropertyMetaData)pmd;
apmd.setValue(new AbstractValueMetaData(metaValueFactory.unwrap(value, propertyInfo.getType())));
}
}