title: Dozer, how to map from java.util.Map to complex type?
body: <p>I'd like to map from a java.util.Map to a complex type, let's call it Abc.</p>
  
  <pre><code>&lt;mapping&gt;
    &lt;class-a&gt;java.util.Map&lt;/class-a&gt;
    &lt;class-b bean-factory="xyz.AbcBeanFactory" factory-bean-id="AbcBeanFactory"&gt;
      xyz.Abc
    &lt;/class-b&gt;
    &lt;field&gt;
      &lt;a&gt;Name&lt;/a&gt;
      &lt;b&gt;companyName&lt;/b&gt;
    &lt;/field&gt;
  &lt;/mapping&gt;
  </code></pre>
  
  <p>With that I get this error (which is comprehensible):
  <em>org.dozer.MappingException: No read or write method found for field (Name) in class (interface java.util.Map)</em></p>
  
  <p>Ok, how do I map from a java.util.Map that has an entry with the key 'Name'? Do I have to create a wrapper object that holds that java.util.Map and provide getters/setters for each entry in that map that I want to map?</p>