TimeInterval interval) {
TimeSpan interval) {
  protected void requestServiceContract(ServiceDescription serviceDescription,                                        TimeInterval interval) {    super.requestServiceContract(serviceDescription, interval);    String providerName = serviceDescription.getProviderName();    Role role = getRole(serviceDescription);    //add to your service request history    ServiceRequestRecord srr =       new ServiceRequestRecord(providerName,			       interval);    ServiceRequestHistory history;    if (myServiceRequestHistories.containsKey(role)) {      history = (ServiceRequestHistory) myServiceRequestHistories.get(role);      history.addRequest(srr);    } else {      history = new ServiceRequestHistory(role, interval, srr);    }    myServiceRequestHistories.put(role, history);  }