@Test(expected = NullPointerException.class) public void normalize_null() { normalizer.normalize(null); }
public AffMatchOrganization normalize(AffMatchOrganization affMatchOrganization) { Preconditions.checkNotNull(affMatchOrganization); AffMatchOrganization normalizedOrganization = new AffMatchOrganization(affMatchOrganization.getId()); normalizedOrganization.setName(organizationNameNormalizer.normalize(affMatchOrganization.getName())); normalizedOrganization.setShortName(organizationShortNameNormalizer.normalize(affMatchOrganization.getShortName())); normalizedOrganization.setCountryName(countryNameNormalizer.normalize(affMatchOrganization.getCountryName())); normalizedOrganization.setCountryCode(countryCodeNormalizer.normalize(affMatchOrganization.getCountryCode())); normalizedOrganization.setWebsiteUrl(websiteUrlNormalizer.normalize(affMatchOrganization.getWebsiteUrl())); return normalizedOrganization; }
AffMatchOrganizationNormalizer implements Serializable { public AffMatchOrganization normalize(AffMatchOrganization affMatchOrganization) { Preconditions.checkNotNull(affMatchOrganization); AffMatchOrganization normalizedOrganization = new AffMatchOrganization(affMatchOrganization.getId()); normalizedOrganization.setName(organizationNameNormalizer.normalize(affMatchOrganization.getName())); normalizedOrganization.setShortName(organizationShortNameNormalizer.normalize(affMatchOrganization.getShortName())); normalizedOrganization.setCountryName(countryNameNormalizer.normalize(affMatchOrganization.getCountryName())); normalizedOrganization.setCountryCode(countryCodeNormalizer.normalize(affMatchOrganization.getCountryCode())); normalizedOrganization.setWebsiteUrl(websiteUrlNormalizer.normalize(affMatchOrganization.getWebsiteUrl())); return normalizedOrganization; } }
AffMatchOrganizationNormalizer implements Serializable { public AffMatchOrganization normalize(AffMatchOrganization affMatchOrganization) { Preconditions.checkNotNull(affMatchOrganization); AffMatchOrganization normalizedOrganization = new AffMatchOrganization(affMatchOrganization.getId()); normalizedOrganization.setName(organizationNameNormalizer.normalize(affMatchOrganization.getName())); normalizedOrganization.setShortName(organizationShortNameNormalizer.normalize(affMatchOrganization.getShortName())); normalizedOrganization.setCountryName(countryNameNormalizer.normalize(affMatchOrganization.getCountryName())); normalizedOrganization.setCountryCode(countryCodeNormalizer.normalize(affMatchOrganization.getCountryCode())); normalizedOrganization.setWebsiteUrl(websiteUrlNormalizer.normalize(affMatchOrganization.getWebsiteUrl())); return normalizedOrganization; }  }
AffMatchOrganizationNormalizer implements Serializable { public AffMatchOrganization normalize(AffMatchOrganization affMatchOrganization) { Preconditions.checkNotNull(affMatchOrganization); AffMatchOrganization normalizedOrganization = new AffMatchOrganization(affMatchOrganization.getId()); normalizedOrganization.setName(organizationNameNormalizer.normalize(affMatchOrganization.getName())); normalizedOrganization.setShortName(organizationShortNameNormalizer.normalize(affMatchOrganization.getShortName())); normalizedOrganization.setCountryName(countryNameNormalizer.normalize(affMatchOrganization.getCountryName())); normalizedOrganization.setCountryCode(countryCodeNormalizer.normalize(affMatchOrganization.getCountryCode())); normalizedOrganization.setWebsiteUrl(websiteUrlNormalizer.normalize(affMatchOrganization.getWebsiteUrl())); return normalizedOrganization; }  AffMatchOrganization normalize(AffMatchOrganization affMatchOrganization); void setOrganizationNameNormalizer(StringNormalizer organizationNameNormalizer); void setOrganizationShortNameNormalizer(StringNormalizer organizationShortNameNormalizer); void setCountryNameNormalizer(StringNormalizer countryNameNormalizer); void setCountryCodeNormalizer(StringNormalizer countryCodeNormalizer); void setWebsiteUrlNormalizer(StringNormalizer websiteUrlNormalizer); }
AffMatchOrganizationNormalizer implements Serializable { public AffMatchOrganization normalize(AffMatchOrganization affMatchOrganization) { Preconditions.checkNotNull(affMatchOrganization); AffMatchOrganization normalizedOrganization = new AffMatchOrganization(affMatchOrganization.getId()); normalizedOrganization.setName(organizationNameNormalizer.normalize(affMatchOrganization.getName())); normalizedOrganization.setShortName(organizationShortNameNormalizer.normalize(affMatchOrganization.getShortName())); normalizedOrganization.setCountryName(countryNameNormalizer.normalize(affMatchOrganization.getCountryName())); normalizedOrganization.setCountryCode(countryCodeNormalizer.normalize(affMatchOrganization.getCountryCode())); normalizedOrganization.setWebsiteUrl(websiteUrlNormalizer.normalize(affMatchOrganization.getWebsiteUrl())); return normalizedOrganization; }  AffMatchOrganization normalize(AffMatchOrganization affMatchOrganization); void setOrganizationNameNormalizer(StringNormalizer organizationNameNormalizer); void setOrganizationShortNameNormalizer(StringNormalizer organizationShortNameNormalizer); void setCountryNameNormalizer(StringNormalizer countryNameNormalizer); void setCountryCodeNormalizer(StringNormalizer countryCodeNormalizer); void setWebsiteUrlNormalizer(StringNormalizer websiteUrlNormalizer);  }