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