]> git.mxchange.org Git - jcore.git/commitdiff
More cleanup
authorRoland Haeder <roland@mxchange.org>
Tue, 8 Sep 2015 13:38:08 +0000 (15:38 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 8 Sep 2015 13:38:52 +0000 (15:38 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

src/org/mxchange/jcore/model/contact/BaseContact.java
src/org/mxchange/jcore/model/contact/Contact.java

index b02109eec86d850f94de1f9da80afee2d7f9e3de..c29388013a8d8ecaaf5ea3725503ede069b142a2 100644 (file)
@@ -29,6 +29,10 @@ import org.mxchange.jcore.model.contact.gender.Gender;
  * @version 0.0
  */
 public abstract class BaseContact extends BaseFrameworkSystem implements Contact, Comparable<Contact> {
+       /**
+        * Serial number
+        */
+       private static final long serialVersionUID = 58_744_284_981_863L;
 
        /**
         * Id number
index 2fbc3a09f7d80791e8762adf190f14a06cfaeeef..abc887909c60c4cae78d9d0992817c7ea9572bd7 100644 (file)
@@ -16,7 +16,7 @@
  */
 package org.mxchange.jcore.model.contact;
 
-import org.mxchange.jcore.FrameworkInterface;
+import java.io.Serializable;
 import org.mxchange.jcore.client.Client;
 import org.mxchange.jcore.model.contact.gender.Gender;
 
@@ -25,7 +25,7 @@ import org.mxchange.jcore.model.contact.gender.Gender;
  *
  * @author Roland Haeder
  */
-public interface Contact extends FrameworkInterface, Comparable<Contact> {
+public interface Contact extends Serializable {
        /**
         * Some "getter" for translated gender of the contact
         *
@@ -268,12 +268,4 @@ public interface Contact extends FrameworkInterface, Comparable<Contact> {
         * @param client Client instance to call back
         */
        public void show (final Client client);
-
-       /**
-        * Compare method
-        * @param contact Contact to compare to
-        * @return Comparison value
-        */
-       @Override
-       public int compareTo (final Contact contact);
 }