code: public void setAvatar(final Link newavatar) {
          final Link old = getAvatar();
          if (old != null) {
              getOtherLinks().remove(old);
          }
          newavatar.setRel("avatar");
          getOtherLinks().add(newavatar);
      }
docs: Set the value of avatar
  
  @param newavatar new value of avatar