code: public void setName(String name) {
          String oldname = this.name;
          this.name = name;
          //TODO Reset the main map
          save(oldname);
      }
docs: Set the currency name
  
  @param name The currency name to set to.