code: private IViolation newViolation(final IAgreement agreement, final IGuaranteeTerm term,
              final String kpiName, IMonitoringMetric breach) {
          
          String actualValue = breach.getMetricValue();
          String expectedValue = null;
          
          /*
           * The policy is null, as the term has the default policy.
           */
          IViolation v = newViolation(
                  agreement, term, null, kpiName, actualValue, expectedValue, breach.getDate());
          return v;
      }
docs: Builds a Violation from metric breach (for the case when the term does not have policies)