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;
/**
* A general contact interface
*
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
*/
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
*
* @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);
}