setDocumentIdNumber(person.getDocumentIdNumber());
setIdDocumentType(person.getIdDocumentType());
setSocialSecurityNumber(person.getSocialSecurityNumber());
if (person.hasDefaultPhysicalAddress()) {
final PhysicalAddress physicalAddress = person.getDefaultPhysicalAddress();
setAddress(physicalAddress.getAddress());
setArea(physicalAddress.getArea());
setAreaCode(physicalAddress.getAreaCode());
setAreaOfAreaCode(physicalAddress.getAreaOfAreaCode());
setParishOfResidence(physicalAddress.getParishOfResidence());
setDistrictSubdivisionOfResidence(physicalAddress.getDistrictSubdivisionOfResidence());
setDistrictOfResidence(physicalAddress.getDistrictOfResidence());
setCountryOfResidence(physicalAddress.getCountryOfResidence());
}
setPhone(person.hasDefaultPhone() ? person.getDefaultPhone().getNumber() : null);
setMobile(person.hasDefaultMobilePhone() ? person.getDefaultMobilePhone().getNumber() : null);
setWebAddress(person.hasDefaultWebAddress() ? person.getDefaultWebAddress().getUrl() : null);