class BloombergDomainIdentifierResolver {

  public static String toBloombergKey(ExternalId externalId) {
    ArgumentChecker.notNull(externalId, "externalId");
    
    ExternalScheme scheme = externalId.getScheme();
    if (SCHEME_MAP.containsKey(scheme)) {
      String prefix = SCHEME_MAP.get(scheme);
      String id  = externalId.getValue();
      return prefix != null ? prefix + id : id;
    }
    s_logger.warn("Unknown ExternalScheme {}", externalId);
    return externalId.getValue();
  }

  private  BloombergDomainIdentifierResolver();

}