class LegalEntityCurveGroup implements CurveGroup, ImmutableBean, Serializable {

  public static LegalEntityCurveGroup of(
      CurveGroupName name,
      Map<Pair<RepoGroup, Currency>, Curve> repoCurves,
      Map<Pair<LegalEntityGroup, Currency>, Curve> issuerCurves) {

    return new LegalEntityCurveGroup(name, repoCurves, issuerCurves);
  }

  private  LegalEntityCurveGroup(
      CurveGroupName name,
      Map<Pair<RepoGroup, Currency>, Curve> repoCurves,
      Map<Pair<LegalEntityGroup, Currency>, Curve> issuerCurves);

}