/**
  * Set the default mappings
  *
  * @param defaultMappingNames
  */
 private void setDefaultMapping(String[] defaultMappingNames) {
   for (int i = 0; i < defaultMappingNames.length; i += 2) {
     map.put(defaultMappingNames[i], UmlUtils.toQualifiedName(defaultMappingNames[i + 1]));
     System.out.println(
         "setDefaultMapping().add("
             + defaultMappingNames[i]
             + ", "
             + UmlUtils.toQualifiedName(defaultMappingNames[i + 1])
             + ")");
   }
 }
  /**
   * Get the associated qualified name from the imports. Return the translation or the name itself,
   * as a qualifiedName.
   *
   * @param name
   * @return
   */
  public List<String> getQualifiedName(String name) {

    List<String> res = map.get(name);
    if (res == null) res = UmlUtils.toQualifiedName(name);
    return res;
  }