]> git.mxchange.org Git - pizzaservice-war.git/blob - src/java/org/mxchange/pizzaapplication/beans/customer/CustomerWebBean.java
renaming season has started ... ;-)
[pizzaservice-war.git] / src / java / org / mxchange / pizzaapplication / beans / customer / CustomerWebBean.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.pizzaapplication.beans.customer;
18
19 import org.mxchange.jcore.model.contact.gender.Gender;
20 import org.mxchange.jshopejb.beans.FrameworkBean;
21
22 /**
23  * An interface for customer beans
24  *
25  * @author Roland Haeder
26  */
27 public interface CustomerWebBean extends FrameworkBean {
28         /**
29          * Some "getter" for translated gender of the contact
30          *
31          * @return Translated / human-readable gender
32          */
33         public String getTranslatedGender ();
34
35         /**
36          * Gender of the contact
37          *
38          * @return the gender
39          */
40         public Gender getGender ();
41
42         /**
43          * Gender of the contact
44          *
45          * @param gender the gender to set
46          */
47         public void setGender (final Gender gender);
48
49         /**
50          * First name
51          *
52          * @return the first name
53          */
54         public String getFirstName ();
55
56         /**
57          * First name
58          *
59          * @param firstName the first name to set
60          */
61         public void setFirstName (final String firstName);
62
63         /**
64          * Family name
65          *
66          * @return the familyName
67          */
68         public String getFamilyName ();
69
70         /**
71          * Family name
72          *
73          * @param familyName the familyName to set
74          */
75         public void setFamilyName (final String familyName);
76
77         /**
78          * Companyname
79          *
80          * @return the companyName
81          */
82         public String getCompanyName ();
83
84         /**
85          * Companyname
86          *
87          * @param companyName the companyName to set
88          */
89         public void setCompanyName (final String companyName);
90
91         /**
92          * Street
93          *
94          * @return the street
95          */
96         public String getStreet ();
97
98         /**
99          * Street
100          *
101          * @param street the street to set
102          */
103         public void setStreet (final String street);
104
105         /**
106          * House number
107          *
108          * @return the houseNumber
109          */
110         public Long getHouseNumber ();
111
112         /**
113          * House number
114          *
115          * @param houseNumber the houseNumber to set
116          */
117         public void setHouseNumber (final Long houseNumber);
118
119         /**
120          * ZIP code
121          *
122          * @return the zipCode
123          */
124         public Long getZipCode ();
125
126         /**
127          * ZIP code
128          *
129          * @param zipCode the zipCode to set
130          */
131         public void setZipCode (final Long zipCode);
132
133         /**
134          * City
135          *
136          * @return the city
137          */
138         public String getCity ();
139
140         /**
141          * City
142          *
143          * @param city the city to set
144          */
145         public void setCity (final String city);
146
147         /**
148          * Country code
149          *
150          * @return the countryCode
151          */
152         public String getCountryCode ();
153
154         /**
155          * Country code
156          *
157          * @param countryCode the countryCode to set
158          */
159         public void setCountryCode (final String countryCode);
160
161         /**
162          * Email address
163          *
164          * @return the emailAddress
165          */
166         public String getEmailAddress ();
167
168         /**
169          * Email address
170          *
171          * @param emailAddress the emailAddress to set
172          */
173         public void setEmailAddress (final String emailAddress);
174
175         /**
176          * Phone number
177          *
178          * @return the phoneNumber
179          */
180         public String getPhoneNumber ();
181
182         /**
183          * Phone number
184          *
185          * @param phoneNumber the phoneNumber to set
186          */
187         public void setPhoneNumber (final String phoneNumber);
188
189         /**
190          * Fax number
191          *
192          * @return the faxNumber
193          */
194         public String getFaxNumber ();
195
196         /**
197          * Fax number
198          *
199          * @param faxNumber the faxNumber to set
200          */
201         public void setFaxNumber (final String faxNumber);
202
203         /**
204          * Cellphone number
205          *
206          * @return the cellphoneNumber
207          */
208         public String getCellphoneNumber ();
209
210         /**
211          * Cellphone number
212          *
213          * @param cellphoneNumber the cellphoneNumber to set
214          */
215         public void setCellphoneNumber (final String cellphoneNumber);
216
217         /**
218          * Birth day
219          *
220          * @return the birthday
221          */
222         public String getBirthday ();
223
224         /**
225          * Birth day
226          *
227          * @param birthday the birthday to set
228          */
229         public void setBirthday (final String birthday);
230
231         /**
232          * Comments
233          *
234          * @return the comment
235          */
236         public String getComment ();
237
238         /**
239          * Comments
240          *
241          * @param comment the comment to set
242          */
243         public void setComment (final String comment);
244
245         /**
246          * Checks whether the contact is user's own data
247          *
248          * @return Own data?
249          */
250         public boolean isOwnContact ();
251 }