class MasterExchangeSource extends AbstractMasterSource<Exchange, ExchangeDocument, ExchangeMaster> implements ExchangeSource {

  @SuppressWarnings({"unchecked", "rawtypes" })
  @Override
  public Collection<Exchange> get(ExternalIdBundle bundle, VersionCorrection versionCorrection) {
    ExchangeSearchRequest searchRequest = new ExchangeSearchRequest(bundle);
    searchRequest.setVersionCorrection(versionCorrection);
    return (List) getMaster().search(searchRequest).getExchanges();
  }

  public  MasterExchangeSource(final ExchangeMaster master);

}