From: Roland Haeder <roland@mxchange.org>
Date: Tue, 8 Sep 2015 13:38:08 +0000 (+0200)
Subject: More cleanup
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d1ec7c5f7d7051f90156012321c5b4339be44b2e;p=jcore.git

More cleanup
Signed-off-by:Roland Häder <roland@mxchange.org>
---

diff --git a/src/org/mxchange/jcore/model/contact/BaseContact.java b/src/org/mxchange/jcore/model/contact/BaseContact.java
index b02109e..c293880 100644
--- a/src/org/mxchange/jcore/model/contact/BaseContact.java
+++ b/src/org/mxchange/jcore/model/contact/BaseContact.java
@@ -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
diff --git a/src/org/mxchange/jcore/model/contact/Contact.java b/src/org/mxchange/jcore/model/contact/Contact.java
index 2fbc3a0..abc8879 100644
--- a/src/org/mxchange/jcore/model/contact/Contact.java
+++ b/src/org/mxchange/jcore/model/contact/Contact.java
@@ -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);
 }