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;
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;
27 * A POJI for business contact classes
29 * @author Roland Haeder
31 public interface BusinessContact extends Serializable {
34 * Getter for basic company data
36 * @return Basic company data
38 public BusinessBasicData getBasicBusinessData ();
41 * Setter for basic company data
43 * @param basicBusinessData Basic company data
45 public void setBasicBusinessData (final BusinessBasicData basicBusinessData);
48 * Getter for branches list
50 * @return Branches list
52 public List<BranchOffice> getBranches ();
55 * Setter for branches list
57 * @param branches Branches list
59 public void setBranches (final List<BranchOffice> branches);
62 * Getter for company contact person
64 * @return Company contact person
66 public Employee getCompanyContact ();
69 * Setter for company contact person
71 * @param companyContact Company contact person
73 public void setCompanyContact (final Employee companyContact);
76 * Getter for basic company data
78 * @return Basic company data
80 public Long getCompanyContactId ();
83 * Setter for basic company data
85 * @param companyContactId Basic company data
87 public void setCompanyContactId (final Long companyContactId);
90 * Getter for company founder
92 * @return Company founder
94 public Employee getCompanyFounder ();
97 * Setter for company founder
99 * @param companyFounder Company founder
101 public void setCompanyFounder (final Employee companyFounder);
104 * Getter for list of employees
106 * @return List of employees
108 public List<Employee> getEmployees ();
111 * Setter for list of employees
113 * @param employees List of employees
115 public void setEmployees (final List<Employee> employees);
118 * Getter for headquarters data
120 * @return Headquarters data
122 public HeadQuartersData getHeadQuartersData ();
125 * Setter for headquarters data
127 * @param headQuartersData Headquarters data
129 public void setHeadQuartersData (final HeadQuartersData headQuartersData);