2 * Copyright (C) 2015 Roland Haeder
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 package org.mxchange.jcontactsbusiness.department;
19 import java.io.Serializable;
20 import org.mxchange.jcontactsbusiness.BusinessContact;
21 import org.mxchange.jcontactsbusiness.employee.Employee;
24 * A POJI for company departments
26 * @author Roland Haeder
28 public interface Department extends Serializable {
31 * Getter for connection to company contact
33 * @return Connection to company contact
35 BusinessContact getDepartmentCompany ();
38 * Setter for connection to company contact
40 * @param departmentCompany Connection to company contact
42 void setDepartmentCompany (final BusinessContact departmentCompany);
45 * Getter for department id
47 * @return Department id
49 Long getDepartmentId ();
52 * Setter for department id
54 * @param departmentId Department id
56 void setDepartmentId (final Long departmentId);
59 * Getter for department lead employee
61 * @return Department lead employee
63 Employee getDepartmentLead ();
66 * Setter for department lead employee
68 * @param departmentLead Department lead employee
70 void setDepartmentLead (final Employee departmentLead);
73 * Getter for department name
75 * @return Department name
77 String getDepartmentName ();
80 * Setter for department name
82 * @param departmentName Department name
84 void setDepartmentName (final String departmentName);
87 boolean equals (final Object object);