]> git.mxchange.org Git - jcontacts-business-core.git/blob - src/org/mxchange/jcontactsbusiness/basicdata/BusinessBasicData.java
Continued:
[jcontacts-business-core.git] / src / org / mxchange / jcontactsbusiness / basicdata / BusinessBasicData.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.basicdata;
18
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;
25
26 /**
27  * A POJI for basic business data
28  * <p>
29  * @author Roland Haeder
30  */
31 public interface BusinessBasicData extends Serializable {
32
33         /**
34          * Getter for id number
35          * <p>
36          * @return Id number
37          */
38         Long getCompanyBasicId ();
39
40         /**
41          * Setter for id number
42          * <p>
43          * @param companyBasicId Id number
44          */
45         void setCompanyBasicId (final Long companyBasicId);
46
47         /**
48          * Getter for comments
49          * <p>
50          * @return Comments
51          */
52         String getCompanyComments ();
53
54         /**
55          * Setter for comments
56          * <p>
57          * @param companyComments Comments
58          */
59         void setCompanyComments (final String companyComments);
60
61         /**
62          * Getter for email address
63          * <p>
64          * @return Email address
65          */
66         String getCompanyEmailAddress ();
67
68         /**
69          * Setter for email address
70          * <p>
71          * @param companyEmailAddress Email address
72          */
73         void setCompanyEmailAddress (final String companyEmailAddress);
74
75         /**
76          * Getter for list of fax number
77          * <p>
78          * @return Fax numbers
79          */
80         DialableFaxNumber getCompanyFaxNumber ();
81
82         /**
83          * Setter for list of fax number
84          * <p>
85          * @param companyFaxNumber Fax numbers
86          */
87         void setCompanyFaxNumber (final DialableFaxNumber companyFaxNumber);
88
89         /**
90          * Getter for legal status
91          * <p>
92          * @return Legal status
93          */
94         String getCompanyLegalStatus ();
95
96         /**
97          * Setter for legal status
98          * <p>
99          * @param companyLegalStatus Legal status
100          */
101         void setCompanyLegalStatus (final String companyLegalStatus);
102
103         /**
104          * Getter for company logo
105          * <p>
106          * @return Company logo
107          */
108         BusinessLogo getCompanyLogo ();
109
110         /**
111          * Setter for company logo
112          * <p>
113          * @param companyLogo Company logo
114          */
115         void setCompanyLogo (final BusinessLogo companyLogo);
116
117         /**
118          * Getter for company name
119          * <p>
120          * @return Company name
121          */
122         String getCompanyName ();
123
124         /**
125          * Setter for company name
126          * <p>
127          * @param companyName Company name
128          */
129         void setCompanyName (final String companyName);
130
131         /**
132          * Getter for list of phone number
133          * <p>
134          * @return Phone numbers
135          */
136         DialableLandLineNumber getCompanyPhoneNumber ();
137
138         /**
139          * Setter for list of phone number
140          * <p>
141          * @param companyPhoneNumber Phone numbers
142          */
143         void setCompanyPhoneNumber (final DialableLandLineNumber companyPhoneNumber);
144
145         /**
146          * Getter for tax number
147          * <p>
148          * @return Tax number
149          */
150         String getCompanyTaxNumber ();
151
152         /**
153          * Setter for tax number
154          * <p>
155          * @param companyTaxNumber Tax number
156          */
157         void setCompanyTaxNumber (final String companyTaxNumber);
158
159         /**
160          * Getter for website URL
161          * <p>
162          * @return Website URL
163          */
164         String getCompanyWebsiteUrl ();
165
166         /**
167          * Setter for website URL
168          * <p>
169          * @param companyWebsiteUrl Website URL
170          */
171         void setCompanyWebsiteUrl (final String companyWebsiteUrl);
172
173         /**
174          * Getter for user owner instance
175          * <p>
176          * @return User owner instance
177          */
178         User getBasicUserOwner ();
179
180         /**
181          * Setter for user owner instance
182          * <p>
183          * @param basicUserOwner User owner instance
184          */
185         void setBasicUserOwner (final User basicUserOwner);
186
187         /**
188          * Getter for timestamp when this entry has been created
189          * <p>
190          * @return Timestamp when this entry has been created
191          */
192         Calendar getBasicCreated ();
193
194         /**
195          * Setter for timestamp when this entry has been created
196          * <p>
197          * @param basicCreated Timestamp when this entry has been created
198          */
199         void setBasicCreated (final Calendar basicCreated);
200
201         @Override
202         boolean equals (final Object object);
203
204         @Override
205         int hashCode ();
206 }