class SwaptionSurfaceExpirySimpleMoneynessParameterMetadata implements ParameterMetadata, ImmutableBean, Serializable {

  public static SwaptionSurfaceExpirySimpleMoneynessParameterMetadata of(
      double yearFraction,
      double simpleMoneyness) {

    String label = Pair.of(yearFraction, simpleMoneyness).toString();
    return new SwaptionSurfaceExpirySimpleMoneynessParameterMetadata(yearFraction, simpleMoneyness, label);
  }

  private  SwaptionSurfaceExpirySimpleMoneynessParameterMetadata(
      double yearFraction,
      double simpleMoneyness,
      String label);

}