class MasterLegalEntitySource extends AbstractMasterSource<LegalEntity, LegalEntityDocument, LegalEntityMaster> implements LegalEntitySource {

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

  public  MasterLegalEntitySource(final LegalEntityMaster master);

}