code: public AddressDataType getAddressDataType(RolodexContract rolodex) {
  
  		AddressDataType addressDataType = AddressDataType.Factory.newInstance();
  		if (rolodex != null) {
  
  			String street1 = rolodex.getAddressLine1();
  			addressDataType.setStreet1(street1);
  			String street2 = rolodex.getAddressLine2();
  			if (street2 != null && !street2.equals("")) {
  				addressDataType.setStreet2(street2);
  			}
  			String city = rolodex.getCity();
  			addressDataType.setCity(city);
  			String county = rolodex.getCounty();
  			if (county != null && !county.equals("")) {
  				addressDataType.setCounty(county);
  			}
  						
  			String postalCode = rolodex.getPostalCode();
  			if (postalCode != null && !postalCode.equals("")) {
  				addressDataType.setZipPostalCode(postalCode);
  			}
  			String country = rolodex.getCountryCode();
  			CountryCodeDataType.Enum countryCodeDataType = getCountryCodeDataType(country);
  			addressDataType.setCountry(countryCodeDataType);
  			
  			String state = rolodex.getState();
  			if (state != null && !state.equals("")) {
  				if (countryCodeDataType != null) {
  					if (countryCodeDataType
  							.equals(CountryCodeDataType.USA_UNITED_STATES)) {
  						addressDataType.setState(getStateCodeDataType(country, state));
  					} else {
  						addressDataType.setProvince(state);
  					}
  				}
  			}
  		}
  		return addressDataType;
  	}
docs: Create AddressDataType from rolodex entry
  
  @param rolodex
  Rolodex entry
  @return The AddressDataType corresponding to the rolodex entry.