this.getPersonalTitle(),
this.getFirstName(),
this.getFamilyName(),
- this.getContactCountry()
+ this.getContactCountry(),
+ Boolean.FALSE,
+ this.getStreet(),
+ this.getHouseNumber(),
+ this.getHouseNumberExtension(),
+ this.getZipCode(),
+ this.getCity(),
+ this.getEmailAddress(),
+ this.getAcademicTitle(),
+ this.getBirthday(),
+ this.getComment()
);
- // Add all others
- localContact.setContactBirthday(this.getBirthday());
- localContact.setContactCity(this.getCity());
- localContact.setContactComment(this.getComment());
- localContact.setContactEmailAddress(this.getEmailAddress());
- localContact.setContactHouseNumber(this.getHouseNumber());
+ // Add missing fields
localContact.setContactId(this.getContactId());
- localContact.setContactStreet(this.getStreet());
- localContact.setContactTitle(this.getAcademicTitle());
- localContact.setContactZipCode(this.getZipCode());
// Don't set null or wrong references
if ((landLine instanceof DialableLandLineNumber) && (landLine.getPhoneCountry() instanceof Country) && (this.getLandLineAreaCode() != null) && (this.getLandLineNumber() != null) && (this.getLandLineAreaCode() > 0) && (this.getLandLineNumber() > 0)) {