class CreditCurveZeroRateSensitivity implements PointSensitivity, PointSensitivityBuilder, ImmutableBean, Serializable {

  public static CreditCurveZeroRateSensitivity of(
      StandardId legalEntityId,
      Currency currency,
      double yearFraction,
      double sensitivity) {

    ZeroRateSensitivity zeroRateSensitivity = ZeroRateSensitivity.of(currency, yearFraction, sensitivity);
    return new CreditCurveZeroRateSensitivity(legalEntityId, zeroRateSensitivity);
  }

  private  CreditCurveZeroRateSensitivity(
      StandardId legalEntityId,
      ZeroRateSensitivity zeroRateSensitivity);

}