From: Roland Haeder Date: Tue, 8 Mar 2016 21:07:12 +0000 (+0100) Subject: Continued a bit: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8f2a3ab722709c074070a2c7d8ea9c540e44d1a7;p=jcontacts-core.git Continued a bit: - renamed method - updated jar(s) --- diff --git a/lib/jphone-core.jar b/lib/jphone-core.jar index 4a79288..221f558 100644 Binary files a/lib/jphone-core.jar and b/lib/jphone-core.jar differ diff --git a/src/org/mxchange/jcontacts/contact/Contact.java b/src/org/mxchange/jcontacts/contact/Contact.java index 65abd31..806de4c 100644 --- a/src/org/mxchange/jcontacts/contact/Contact.java +++ b/src/org/mxchange/jcontacts/contact/Contact.java @@ -233,14 +233,14 @@ public interface Contact extends Serializable { *

* @return Phone number */ - DialableLandLineNumber getContactPhoneNumber (); + DialableLandLineNumber getContactLandLineNumber (); /** * Setter for phone number *

* @param phoneNumber Phone number */ - void setContactPhoneNumber (final DialableLandLineNumber phoneNumber); + void setContactLandLineNumber (final DialableLandLineNumber phoneNumber); /** * Street diff --git a/src/org/mxchange/jcontacts/contact/UserContact.java b/src/org/mxchange/jcontacts/contact/UserContact.java index ede2cf4..bb003ee 100644 --- a/src/org/mxchange/jcontacts/contact/UserContact.java +++ b/src/org/mxchange/jcontacts/contact/UserContact.java @@ -267,7 +267,7 @@ public class UserContact implements Contact, Comparable { this.setContactCountry(contact.getContactCountry()); // - phone, fax, email - this.setContactPhoneNumber(contact.getContactPhoneNumber()); + this.setContactLandLineNumber(contact.getContactLandLineNumber()); this.setContactFaxNumber(contact.getContactFaxNumber()); this.setContactCellphoneNumber(contact.getContactCellphoneNumber()); @@ -447,12 +447,12 @@ public class UserContact implements Contact, Comparable { } @Override - public DialableLandLineNumber getContactPhoneNumber () { + public DialableLandLineNumber getContactLandLineNumber () { return this.contactPhoneNumber; } @Override - public void setContactPhoneNumber (final DialableLandLineNumber contactPhoneNumber) { + public void setContactLandLineNumber (final DialableLandLineNumber contactPhoneNumber) { this.contactPhoneNumber = contactPhoneNumber; }