2 * Copyright (C) 2016 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.branch;
19 import java.io.Serializable;
20 import java.util.Calendar;
21 import org.mxchange.jcountry.data.Country;
22 import org.mxchange.jphone.phonenumbers.fax.DialableFaxNumber;
23 import org.mxchange.jphone.phonenumbers.landline.DialableLandLineNumber;
24 import org.mxchange.jusercore.model.user.User;
27 * A POJI for branch offices
29 * @author Roland Haeder
31 public interface BranchOffice extends Serializable {
34 * Getter for branch office's city name
36 * @return Branch office's city name
38 String getBranchCity ();
41 * Setter for branch office's city name
43 * @param branchCity Branch office's city name
45 void setBranchCity (final String branchCity);
48 * Getter for branch office's email address
50 * @return Branch office's email address
52 String getBranchEmailAddress ();
55 * Setter for branch office's email address
57 * @param branchEmailAddress Branch office's email address
59 void setBranchEmailAddress (final String branchEmailAddress);
62 * Getter for branch office's fax number
64 * @return Branch office's fax number
66 DialableFaxNumber getBranchFaxNumber ();
69 * Setter for branch office's fax number
71 * @param branchFaxNumber Branch office's fax number
73 void setBranchFaxNumber (final DialableFaxNumber branchFaxNumber);
76 * Getter for branch office's house number
78 * @return Branch office's house number
80 Short getBranchHouseNumber ();
83 * Setter for branch office's house number
85 * @param branchHouseNumber Branch office's house number
87 void setBranchHouseNumber (final Short branchHouseNumber);
90 * Getter for branch office's phone number
92 * @return Branch office's phone number
94 DialableLandLineNumber getBranchPhoneNumber ();
97 * Setter for branch office's phone number
99 * @param branchPhoneNumber Branch office's phone number
101 void setBranchPhoneNumber (final DialableLandLineNumber branchPhoneNumber);
104 * Getter for branch office's store
106 * @return Branch office's store
108 Short getBranchStore ();
111 * Setter for branch office's store
113 * @param branchStore Branch office's store
115 void setBranchStore (final Short branchStore);
118 * Getter for branch office's street name
120 * @return Branch office's street name
122 String getBranchStreet ();
125 * Setter for branch office's street name
127 * @param branchStreet Branch office's street name
129 void setBranchStreet (final String branchStreet);
132 * Getter for branch office's suite number
134 * @return Branch office's suite number
136 Short getBranchSuiteNumber ();
139 * Setter for branch office's suite number
141 * @param branchSuiteNumber Branch office's suite number
143 void setBranchSuiteNumber (final Short branchSuiteNumber);
146 * Getter for branch office's ZIP code
148 * @return Branch office's ZIP code
150 Integer getBranchZipCode ();
153 * Setter for branch office's ZIP code
155 * @param branchZipCode Branch office's ZIP code
157 void setBranchZipCode (final Integer branchZipCode);
160 * Getter for branch office's id number
162 * @return Branch office's id number
167 * Setter for branch office's id number
169 * @param branchId Branch office's id number
171 void setBranchId (final Long branchId);
174 * Getter for branch office's country
176 * @return Branch office's country
178 Country getBranchCountry ();
181 * Setter for branch office's country
183 * @param branchCountryCode Branch office's country
185 void setBranchCountry (final Country branchCountryCode);
188 * Getter for branch office's company
190 * @return Branch office's company
192 Long getBranchCompanyContact ();
195 * Setter for branch office's company
197 * @param branchCompanyContact Branch office's company
199 void setBranchCompanyContact (final Long branchCompanyContact);
202 * Getter for user owner instance
204 * @return User owner instance
206 User getBranchUserOwner ();
209 * Setter for user owner instance
211 * @param branchUserOwner User owner instance
213 void setBranchUserOwner (final User branchUserOwner);
216 * Getter for timestamp when this entry has been created
218 * @return Timestamp when this entry has been created
220 Calendar getBranchCreated ();
223 * Setter for timestamp when this entry has been created
225 * @param branchCreated Timestamp when this entry has been created
227 void setBranchCreated (final Calendar branchCreated);
230 boolean equals (final Object object);