]> git.mxchange.org Git - jcontacts-business-core.git/blobdiff - src/org/mxchange/jcontactsbusiness/department/Department.java
ignored create-persistence-unit warning as no persistence.xml shall be created here...
[jcontacts-business-core.git] / src / org / mxchange / jcontactsbusiness / department / Department.java
index 4e40ed956d5258f81bca06d6be92b7c8a995a785..2b651be6b06101c40f850b4424e44d5ac89a3b84 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2015 Roland Haeder
+ * Copyright (C) 2016 Roland Haeder
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
 package org.mxchange.jcontactsbusiness.department;
 
 import java.io.Serializable;
+import java.util.Calendar;
 import org.mxchange.jcontactsbusiness.BusinessContact;
 import org.mxchange.jcontactsbusiness.branch.BranchOffice;
 import org.mxchange.jcontactsbusiness.employee.Employee;
 import org.mxchange.jcontactsbusiness.headquarters.HeadQuartersData;
+import org.mxchange.jusercore.model.user.User;
 
 /**
  * A POJI for company departments
  * <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
  */
 public interface Department extends Serializable {
 
@@ -113,6 +115,34 @@ public interface Department extends Serializable {
         */
        void setDepartmentName (final String departmentName);
 
+       /**
+        * Getter for user owner instance
+        * <p>
+        * @return User owner instance
+        */
+       User getDepartmentUserOwner ();
+
+       /**
+        * Setter for user owner instance
+        * <p>
+        * @param departmentUserOwner User owner instance
+        */
+       void setDepartmentUserOwner (final User departmentUserOwner);
+
+       /**
+        * Getter for timestamp when this entry has been created
+        * <p>
+        * @return Timestamp when this entry has been created
+        */
+       Calendar getDepartmentCreated ();
+
+       /**
+        * Setter for timestamp when this entry has been created
+        * <p>
+        * @param departmentCreated Timestamp when this entry has been created
+        */
+       void setDepartmentCreated (final Calendar departmentCreated);
+
        @Override
        boolean equals (final Object object);