HashMap<String, String> myValue = (HashMap<String, String>)MetaValueFactory.getInstance().unwrap(value);
if (mp.getMappedName().equals("JAXBProperties")) { //$NON-NLS-1$
List<PropertyMetadata> props = new ArrayList<PropertyMetadata>();
for (String key:myValue.keySet()) {
props.add(new PropertyMetadata(key, myValue.get(key)));
}
PropertiesUtils.setBeanProperty(t, mp.getMappedName(), props);
}
else {
PropertiesUtils.setBeanProperty(t, mp.getMappedName(), myValue);