class RatesCurveGroupDefinition implements CurveGroupDefinition, ImmutableBean, Serializable {

  public static RatesCurveGroupDefinition of(
      CurveGroupName name,
      Collection<RatesCurveGroupEntry> entries,
      Collection<CurveDefinition> curveDefinitions) {

    return new RatesCurveGroupDefinition(name, entries, curveDefinitions, ImmutableMap.of(), true, false);
  }

  @ImmutableConstructor  RatesCurveGroupDefinition(
      CurveGroupName name,
      Collection<RatesCurveGroupEntry> entries,
      Collection<? extends CurveDefinition> curveDefinitions,
      Map<CurveName, SeasonalityDefinition> seasonalityDefinitions,
      boolean computeJacobian,
      boolean computePvSensitivityToMarketQuote);

}