]> git.mxchange.org Git - jcontacts-business-core.git/blob - src/org/mxchange/jcontactsbusiness/department/Department.java
Continued:
[jcontacts-business-core.git] / src / org / mxchange / jcontactsbusiness / department / Department.java
1 /*
2  * Copyright (C) 2015 Roland Haeder
3  *
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.
8  *
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.
13  *
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/>.
16  */
17 package org.mxchange.jcontactsbusiness.department;
18
19 import java.io.Serializable;
20 import org.mxchange.jcontactsbusiness.BusinessContact;
21 import org.mxchange.jcontactsbusiness.employee.Employee;
22
23 /**
24  * A POJI for company departments
25  * <p>
26  * @author Roland Haeder
27  */
28 public interface Department extends Serializable {
29
30         /**
31          * Getter for connection to company contact
32          * <p>
33          * @return Connection to company contact
34          */
35         public BusinessContact getDepartmentCompany ();
36
37         /**
38          * Setter for connection to company contact
39          * <p>
40          * @param departmentCompany Connection to company contact
41          */
42         public void setDepartmentCompany (final BusinessContact departmentCompany);
43
44         /**
45          * Getter for department id
46          * <p>
47          * @return Department id
48          */
49         public Long getDepartmentId ();
50
51         /**
52          * Setter for department id
53          * <p>
54          * @param departmentId Department id
55          */
56         public void setDepartmentId (final Long departmentId);
57
58         /**
59          * Getter for department lead employee
60          * <p>
61          * @return Department lead employee
62          */
63         public Employee getDepartmentLead ();
64
65         /**
66          * Setter for department lead employee
67          * <p>
68          * @param departmentLead Department lead employee
69          */
70         public void setDepartmentLead (final Employee departmentLead);
71
72         /**
73          * Getter for department name
74          * <p>
75          * @return Department name
76          */
77         public String getDepartmentName ();
78
79         /**
80          * Setter for department name
81          * <p>
82          * @param departmentName Department name
83          */
84         public void setDepartmentName (final String departmentName);
85 }