class CreditCurveIdentifier implements UniqueIdentifiable, ObjectIdentifiable {

  @Deprecated
  public static CreditCurveIdentifier of(final ExternalId redCode,
                                         final Currency currency,
                                         final String term,
                                         final String seniority,
                                         final String restructuringClause) {
    ArgumentChecker.notNull(redCode, "redCode");
    return new CreditCurveIdentifier(redCode.getValue(), currency, term, seniority, restructuringClause);
  }

  private  CreditCurveIdentifier(final String redCode,
                                final Currency currency,
                                final String term,
                                final String seniority,
                                final String restructuringClause);
  private  CreditCurveIdentifier(final String curveTypePrefix,
                                final String redCode,
                                final Currency currency,
                                final String term,
                                final String seniority,
                                final String restructuringClause);
  private  CreditCurveIdentifier(final String redCode);

}