code: public void setAttr(String attr, Object val) throws NamingException {
      getAttributes().put(attr, val);
    }
docs: Set the attribute value in the table. Replaces any existing value(s)
  This does not write back to the directory
  
  @param attr
  @param val
  @throws NamingException