code: public void importValues(Map<String, Object> map) {
          for (String key : map.keySet()) {
              this.set(key, map.get(key));
          }
      }
docs: Imports values from Map. If such key already exists - value would be rewritten and Type/Position/Direction
  would be reset to default value.
  
  @param map Map which would be imported