/*
- * Copyright (C) 2015 Roland Haeder
+ * Copyright (C) 2016, 2017 Roland Häder
*
* 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 org.mxchange.jcontactsbusiness.BusinessContact;
+import java.util.Calendar;
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;
+import org.mxchange.jcontactsbusiness.BusinessBasicData;
/**
* A POJI for company departments
* <p>
- * @author Roland Haeder
+ * @author Roland Häder<roland@mxchange.org>
*/
public interface Department extends Serializable {
* <p>
* @return Connection to company contact
*/
- BusinessContact getDepartmentCompany ();
+ BusinessBasicData getDepartmentCompany ();
/**
* Setter for connection to company contact
* <p>
* @param departmentCompany Connection to company contact
*/
- void setDepartmentCompany (final BusinessContact departmentCompany);
+ void setDepartmentCompany (final BusinessBasicData departmentCompany);
/**
* Getter for connection to company headquarters
*/
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);