]> git.mxchange.org Git - addressbook-swing.git/commitdiff
updated jar(s) + fixed method calls
authorRoland Haeder <roland@mxchange.org>
Mon, 12 Oct 2015 11:29:33 +0000 (13:29 +0200)
committerRoland Haeder <roland@mxchange.org>
Mon, 12 Oct 2015 12:45:59 +0000 (14:45 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

lib/jcontacts-business-core.jar
lib/jcontacts-core.jar
lib/jphone-core.jar
src/org/mxchange/addressbook/client/console/ConsoleClient.java

index a5e07b705621de173e1b4ffe1e88e933a836a1e9..bc2ca161b5dcd606d2dff54511b93357bd6fde5a 100644 (file)
Binary files a/lib/jcontacts-business-core.jar and b/lib/jcontacts-business-core.jar differ
index d1599646edb47bc737ba6e93b27c1d992ed0ed88..30e9640892d5fe2c8dbe696eeb1e857b2d0c5c9c 100644 (file)
Binary files a/lib/jcontacts-core.jar and b/lib/jcontacts-core.jar differ
index 09d31d021f45e52b1f8bff4b13c78c01fc84571c..6da09db142b3d85355881e06c93e869b931e72a0 100644 (file)
Binary files a/lib/jphone-core.jar and b/lib/jphone-core.jar differ
index 4f640bea4dd3321af0628632b001ac996d89cd41..686f1926cbd56bba1f90b326665628e69d7a3ae3 100644 (file)
@@ -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