]> git.mxchange.org Git - jfinancials-swing.git/blobdiff - src/org/mxchange/addressbook/client/console/ConsoleClient.java
Continued a bit:
[jfinancials-swing.git] / src / org / mxchange / addressbook / client / console / ConsoleClient.java
index 3c694b27a29b88970536fde312516308f2aaa312..6f74ce211bff0fcd0f8f134addb45b81335874d9 100644 (file)
@@ -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.getContactPhoneNumber(), contact.getContactFaxNumber(), contact.getContactCellphoneNumber(), contact.getContactComment()));
+               this.outputMessage(MessageFormat.format("Telefonnumer: {0}\nFaxnummer: {1}\nHandy: {2}\nKommentar:\n{3}", contact.getContactLandLineNumber(), contact.getContactFaxNumber(), contact.getContactCellphoneNumber(), contact.getContactComment()));
 
                // Trace message
                this.getLoggerBeanLocal().logTrace("EXIT!"); //NOI18N
@@ -247,7 +247,7 @@ public class ConsoleClient extends BaseAddressbookClient implements AddressbookC
                String comment = manager.enterOwnComment();
 
                // Update contact instance
-               contact.setContactPhoneNumber(phoneNumber);
+               contact.setContactLandLineNumber(phoneNumber);
                contact.setContactCellphoneNumber(cellphonePhoneNumber);
                contact.setContactFaxNumber(faxNumber);
                contact.setContactEmailAddress(email);