]> git.mxchange.org Git - jcore.git/blobdiff - src/org/mxchange/jcore/model/contact/Contact.java
JPA started
[jcore.git] / src / org / mxchange / jcore / model / contact / Contact.java
index baf2ec93824c3c825afd01881705385e599f1a46..8cbc93db20a5f289d7dadead864562f4d9c3551e 100644 (file)
@@ -17,6 +17,8 @@
 package org.mxchange.jcore.model.contact;
 
 import java.io.Serializable;
+import java.sql.Timestamp;
+import java.util.Date;
 import org.mxchange.jcore.model.contact.gender.Gender;
 
 /**
@@ -224,14 +226,14 @@ public interface Contact extends Serializable {
         *
         * @return the birthday
         */
-       public String getBirthday ();
+       public Date getBirthday ();
 
        /**
         * Birth day
         *
         * @param birthday the birthday to set
         */
-       public void setBirthday (final String birthday);
+       public void setBirthday (final Date birthday);
 
        /**
         * Comments
@@ -252,5 +254,40 @@ public interface Contact extends Serializable {
         *
         * @return Own data?
         */
-       public boolean isOwnContact ();
+       public Boolean isOwnContact ();
+
+       /**
+        * Setter for own contact
+        *
+        * @param ownContact Own contact
+        */
+       public void setOwnContact (final Boolean ownContact);
+
+       /**
+        * Getter for "created" timestamp
+        *
+        * @return "created" timestamp
+        */
+       public Timestamp getCreated ();
+
+       /**
+        * Setter for "created" timestamp
+        *
+        * @param created "created" timestamp
+        */
+       public void setCreated (final Timestamp created);
+
+       /**
+        * Getter for "updated" timestamp
+        *
+        * @return "updated" timestamp
+        */
+       public Timestamp getUpdated ();
+
+       /**
+        * Getter for "updated" timestamp
+        *
+        * @param updated "updated" timestamp
+        */
+       public void setUpdated (final Timestamp updated);
 }