}
// Simple display ...
- this.outputMessage(MessageFormat.format("Strasse, PLZ Ort, Land: {0}\n{1} {2}\n{3}", contact.getStreet(), contact.getZipCode(), contact.getCity(), contact.getCountry()));
+ this.outputMessage(MessageFormat.format("Strasse, PLZ Ort, Land: {0}\n{1} {2}\n{3}", contact.getContactStreet(), contact.getContactZipCode(), contact.getContactCity(), contact.getContactCountry()));
// Trace message
this.getLogger().logTrace("EXIT!"); //NOI18N
String gender = GenderUtils.getTranslatedGender(contact);
// Now put all together: gender, surname, family name
- this.outputMessage(MessageFormat.format("Anrede, Vorname, Name: {0} {1} {2}", gender, contact.getFirstName(), contact.getFamilyName()));
+ this.outputMessage(MessageFormat.format("Anrede, Vorname, Name: {0} {1} {2}", gender, contact.getContactFirstName(), contact.getContactFamilyName()));
// Trace message
this.getLogger().logTrace("EXIT!"); //NOI18N
}
// Cellphone and such ...
- this.outputMessage(MessageFormat.format("Telefonnumer: {0}\nFaxnummer: {1}\nHandy: {2}\nKommentar:\n{3}", contact.getPhoneNumber(), contact.getFaxNumber(), contact.getCellphoneNumber(), contact.getComment()));
+ this.outputMessage(MessageFormat.format("Telefonnumer: {0}\nFaxnummer: {1}\nHandy: {2}\nKommentar:\n{3}", contact.getContactPhoneNumber(), contact.getContactFaxNumber(), contact.getContactCellphoneNumber(), contact.getContactComment()));
// Trace message
this.getLogger().logTrace("EXIT!"); //NOI18N
Country country = manager.enterOwnCountryCode();
// Update address data
- contact.setStreet(streetNumber);
- contact.setZipCode(zipCode);
- contact.setCity(city);
- contact.setCountry(country);
+ contact.setContactStreet(streetNumber);
+ contact.setContactZipCode(zipCode);
+ contact.setContactCity(city);
+ contact.setContactCountry(country);
// Trace message
this.getLogger().logTrace("EXIT!"); //NOI18N
String familyName = manager.enterOwnFamilyName();
// Update contact instance
- contact.setGender(gender);
- contact.setFirstName(firstName);
- contact.setFamilyName(familyName);
+ contact.setContactGender(gender);
+ contact.setContactFirstName(firstName);
+ contact.setContactFamilyName(familyName);
// Trace message
this.getLogger().logTrace("EXIT!"); //NOI18N
String comment = manager.enterOwnComment();
// Update contact instance
- contact.setPhoneNumber(phoneNumber);
- contact.setCellphoneNumber(cellphonePhoneNumber);
- contact.setFaxNumber(faxNumber);
- contact.setEmailAddress(email);
- contact.setComment(comment);
+ contact.setContactPhoneNumber(phoneNumber);
+ contact.setContactCellphoneNumber(cellphonePhoneNumber);
+ contact.setContactFaxNumber(faxNumber);
+ contact.setContactEmailAddress(email);
+ contact.setContactComment(comment);
// Trace message
this.getLogger().logTrace("EXIT!"); //NOI18N