class ExternalSchemes {

  public static ExternalId cusipSecurityId(final String code) {
    ArgumentChecker.notNull(code, "code");
    if (code.length() == 0) {
      throw new IllegalArgumentException("CUSIP code is invalid: " + code);
    }
    //    if (code.matches("[A-Z0-9]{8}[0-9]?") == false) {
    //      throw new IllegalArgumentException("CUSIP code is invalid: " + code);
    //    }
    return ExternalId.of(CUSIP, code);
  }

  protected  ExternalSchemes();

}