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.basicdata;
19 import java.io.Serializable;
20 import java.util.Calendar;
21 import org.mxchange.jcontactsbusiness.logo.BusinessLogo;
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 basic business data
29 * @author Roland Haeder
31 public interface BusinessBasicData extends Serializable {
34 * Getter for id number
38 Long getCompanyBasicId ();
41 * Setter for id number
43 * @param companyBasicId Id number
45 void setCompanyBasicId (final Long companyBasicId);
52 String getCompanyComments ();
57 * @param companyComments Comments
59 void setCompanyComments (final String companyComments);
62 * Getter for email address
64 * @return Email address
66 String getCompanyEmailAddress ();
69 * Setter for email address
71 * @param companyEmailAddress Email address
73 void setCompanyEmailAddress (final String companyEmailAddress);
76 * Getter for list of fax number
80 DialableFaxNumber getCompanyFaxNumber ();
83 * Setter for list of fax number
85 * @param companyFaxNumber Fax numbers
87 void setCompanyFaxNumber (final DialableFaxNumber companyFaxNumber);
90 * Getter for legal status
92 * @return Legal status
94 String getCompanyLegalStatus ();
97 * Setter for legal status
99 * @param companyLegalStatus Legal status
101 void setCompanyLegalStatus (final String companyLegalStatus);
104 * Getter for company logo
106 * @return Company logo
108 BusinessLogo getCompanyLogo ();
111 * Setter for company logo
113 * @param companyLogo Company logo
115 void setCompanyLogo (final BusinessLogo companyLogo);
118 * Getter for company name
120 * @return Company name
122 String getCompanyName ();
125 * Setter for company name
127 * @param companyName Company name
129 void setCompanyName (final String companyName);
132 * Getter for list of phone number
134 * @return Phone numbers
136 DialableLandLineNumber getCompanyPhoneNumber ();
139 * Setter for list of phone number
141 * @param companyPhoneNumber Phone numbers
143 void setCompanyPhoneNumber (final DialableLandLineNumber companyPhoneNumber);
146 * Getter for tax number
150 String getCompanyTaxNumber ();
153 * Setter for tax number
155 * @param companyTaxNumber Tax number
157 void setCompanyTaxNumber (final String companyTaxNumber);
160 * Getter for website URL
162 * @return Website URL
164 String getCompanyWebsiteUrl ();
167 * Setter for website URL
169 * @param companyWebsiteUrl Website URL
171 void setCompanyWebsiteUrl (final String companyWebsiteUrl);
174 * Getter for user owner instance
176 * @return User owner instance
178 User getBasicUserOwner ();
181 * Setter for user owner instance
183 * @param basicUserOwner User owner instance
185 void setBasicUserOwner (final User basicUserOwner);
188 * Getter for timestamp when this entry has been created
190 * @return Timestamp when this entry has been created
192 Calendar getBasicCreated ();
195 * Setter for timestamp when this entry has been created
197 * @param basicCreated Timestamp when this entry has been created
199 void setBasicCreated (final Calendar basicCreated);
202 boolean equals (final Object object);