class SwaptionSurfaceExpiryTenorParameterMetadata implements ParameterMetadata, ImmutableBean, Serializable {

  public static SwaptionSurfaceExpiryTenorParameterMetadata of(
      double yearFraction,
      double tenor) {

    String label = Pair.of(yearFraction, tenor).toString();
    return new SwaptionSurfaceExpiryTenorParameterMetadata(yearFraction, tenor, label);
  }

  private  SwaptionSurfaceExpiryTenorParameterMetadata(
      double yearFraction,
      double tenor,
      String label);

}