From: Roland Haeder Date: Mon, 12 Oct 2015 11:29:33 +0000 (+0200) Subject: updated jar(s) + fixed method calls X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4f9a85869ea77e311382928d865cd0875aa2e231;p=addressbook-swing.git updated jar(s) + fixed method calls Signed-off-by:Roland Häder --- diff --git a/lib/jcontacts-business-core.jar b/lib/jcontacts-business-core.jar index a5e07b7..bc2ca16 100644 Binary files a/lib/jcontacts-business-core.jar and b/lib/jcontacts-business-core.jar differ diff --git a/lib/jcontacts-core.jar b/lib/jcontacts-core.jar index d159964..30e9640 100644 Binary files a/lib/jcontacts-core.jar and b/lib/jcontacts-core.jar differ diff --git a/lib/jphone-core.jar b/lib/jphone-core.jar index 09d31d0..6da09db 100644 Binary files a/lib/jphone-core.jar and b/lib/jphone-core.jar differ diff --git a/src/org/mxchange/addressbook/client/console/ConsoleClient.java b/src/org/mxchange/addressbook/client/console/ConsoleClient.java index 4f640be..686f192 100644 --- a/src/org/mxchange/addressbook/client/console/ConsoleClient.java +++ b/src/org/mxchange/addressbook/client/console/ConsoleClient.java @@ -86,7 +86,7 @@ public class ConsoleClient extends BaseAddressbookClient implements AddressbookC } // 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 @@ -107,7 +107,7 @@ public class ConsoleClient extends BaseAddressbookClient implements AddressbookC 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 @@ -125,7 +125,7 @@ public class ConsoleClient extends BaseAddressbookClient implements AddressbookC } // 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 @@ -164,10 +164,10 @@ public class ConsoleClient extends BaseAddressbookClient implements AddressbookC 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 @@ -203,9 +203,9 @@ public class ConsoleClient extends BaseAddressbookClient implements AddressbookC 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 @@ -247,11 +247,11 @@ public class ConsoleClient extends BaseAddressbookClient implements AddressbookC 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