code: public void addMapping(Mapping mapping)
      {
          if (mapping != null)
          {
              mappings.put(mapping.getType(), mapping);
          }
      }
docs: ------------------------------------------------------ mappings