code: private MultivaluedMapWrapper<String, IGuaranteeTerm> initTermsMap(IAgreement agreement) {
          MultivaluedMapWrapper<String, IGuaranteeTerm> result = new MultivaluedMapWrapper<String, IGuaranteeTerm>();
          
          for (IGuaranteeTerm term : agreement.getGuaranteeTerms()) {
              String variable = constraintEvaluator.getConstraintVariable(term.getServiceLevel());
              result.add(variable, term);
          }
          return result;
      }
docs: Inits a MultivaluedMap with metrickey as key and the terms that evaluate the metrickey as values.
  @param agreement
  @return