]> 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 15d497efb2d58049bb077022a7f1fd990d12ed3c..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,7 +254,7 @@ public interface Contact extends Serializable {
         *
         * @return Own data?
         */
-       public boolean isOwnContact ();
+       public Boolean isOwnContact ();
 
        /**
         * Setter for own contact
@@ -260,4 +262,32 @@ public interface Contact extends Serializable {
         * @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);
 }