]> git.mxchange.org Git - jcontacts-business-core.git/blob - src/org/mxchange/jcontactsbusiness/BusinessContact.java
opps, wrong entity linked
[jcontacts-business-core.git] / src / org / mxchange / jcontactsbusiness / BusinessContact.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;
18
19 import java.io.Serializable;
20 import java.util.List;
21 import org.mxchange.jcontactsbusiness.basicdata.BusinessBasicData;
22 import org.mxchange.jcontactsbusiness.branch.BranchOffice;
23 import org.mxchange.jcontactsbusiness.employee.Employee;
24 import org.mxchange.jcontactsbusiness.headquarters.HeadQuartersData;
25
26 /**
27  * A POJI for business contact classes
28  * <p>
29  * @author Roland Haeder
30  */
31 public interface BusinessContact extends Serializable {
32
33         /**
34          * Getter for basic company data
35          * <p>
36          * @return Basic company data
37          */
38         public BusinessBasicData getBasicBusinessData ();
39
40         /**
41          * Setter for basic company data
42          * <p>
43          * @param basicBusinessData Basic company data
44          */
45         public void setBasicBusinessData (final BusinessBasicData basicBusinessData);
46
47         /**
48          * Getter for branches list
49          * <p>
50          * @return Branches list
51          */
52         public List<BranchOffice> getBranches ();
53
54         /**
55          * Setter for branches list
56          * <p>
57          * @param branches Branches list
58          */
59         public void setBranches (final List<BranchOffice> branches);
60
61         /**
62          * Getter for company contact person
63          * <p>
64          * @return Company contact person
65          */
66         public Employee getCompanyContact ();
67
68         /**
69          * Setter for company contact person
70          * <p>
71          * @param companyContact Company contact person
72          */
73         public void setCompanyContact (final Employee companyContact);
74
75         /**
76          * Getter for basic company data
77          * <p>
78          * @return Basic company data
79          */
80         public Long getCompanyContactId ();
81
82         /**
83          * Setter for basic company data
84          * <p>
85          * @param companyContactId Basic company data
86          */
87         public void setCompanyContactId (final Long companyContactId);
88
89         /**
90          * Getter for company founder
91          * <p>
92          * @return Company founder
93          */
94         public Employee getCompanyFounder ();
95
96         /**
97          * Setter for company founder
98          * <p>
99          * @param companyFounder Company founder
100          */
101         public void setCompanyFounder (final Employee companyFounder);
102
103         /**
104          * Getter for list of employees
105          * <p>
106          * @return List of employees
107          */
108         public List<Employee> getEmployees ();
109
110         /**
111          * Setter for list of employees
112          * <p>
113          * @param employees List of employees
114          */
115         public void setEmployees (final List<Employee> employees);
116
117         /**
118          * Getter for headquarters data
119          * <p>
120          * @return Headquarters data
121          */
122         public HeadQuartersData getHeadQuartersData ();
123
124         /**
125          * Setter for headquarters data
126          * <p>
127          * @param headQuartersData Headquarters data
128          */
129         public void setHeadQuartersData (final HeadQuartersData headQuartersData);
130 }