]> git.mxchange.org Git - pizzaservice-war.git/blob - src/java/org/mxchange/pizzaapplication/beans/customer/CustomerWebController.java
Continued:
[pizzaservice-war.git] / src / java / org / mxchange / pizzaapplication / beans / customer / CustomerWebController.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 java.io.Serializable;
20 import org.mxchange.jcore.model.contact.gender.Gender;
21 import org.mxchange.jshopcore.model.customer.Customer;
22
23 /**
24  * An interface for customer beans
25  *
26  * @author Roland Haeder<roland@mxchange.org>
27  */
28 public interface CustomerWebController extends Serializable {
29
30         /**
31          * Creates an instance from all properties
32          *
33          * @return A Customer instance
34          */
35         public Customer createCustomerInstance ();
36
37         /**
38          * Gender of the contact
39          *
40          * @return the gender
41          */
42         public Gender getGender ();
43
44         /**
45          * Gender of the contact
46          *
47          * @param gender the gender to set
48          */
49         public void setGender (final Gender gender);
50
51         /**
52          * Company name
53          *
54          * @return the companyName
55          */
56         public String getCompanyName ();
57
58         /**
59          * Company name
60          *
61          * @param companyName the companyName to set
62          */
63         public void setCompanyName (final String companyName);
64
65         /**
66          * First name
67          *
68          * @return the first name
69          */
70         public String getFirstName ();
71
72         /**
73          * First name
74          *
75          * @param firstName the first name to set
76          */
77         public void setFirstName (final String firstName);
78
79         /**
80          * Family name
81          *
82          * @return the familyName
83          */
84         public String getFamilyName ();
85
86         /**
87          * Family name
88          *
89          * @param familyName the familyName to set
90          */
91         public void setFamilyName (final String familyName);
92
93         /**
94          * Street
95          *
96          * @return the street
97          */
98         public String getStreet ();
99
100         /**
101          * Street
102          *
103          * @param street the street to set
104          */
105         public void setStreet (final String street);
106
107         /**
108          * House number
109          *
110          * @return the houseNumber
111          */
112         public Long getHouseNumber ();
113
114         /**
115          * House number
116          *
117          * @param houseNumber the houseNumber to set
118          */
119         public void setHouseNumber (final Long houseNumber);
120
121         /**
122          * ZIP code
123          *
124          * @return the zipCode
125          */
126         public Long getZipCode ();
127
128         /**
129          * ZIP code
130          *
131          * @param zipCode the zipCode to set
132          */
133         public void setZipCode (final Long zipCode);
134
135         /**
136          * City
137          *
138          * @return the city
139          */
140         public String getCity ();
141
142         /**
143          * City
144          *
145          * @param city the city to set
146          */
147         public void setCity (final String city);
148
149         /**
150          * Country code
151          *
152          * @return the countryCode
153          */
154         public String getCountryCode ();
155
156         /**
157          * Country code
158          *
159          * @param countryCode the countryCode to set
160          */
161         public void setCountryCode (final String countryCode);
162
163         /**
164          * Email address
165          *
166          * @return the emailAddress
167          */
168         public String getEmailAddress ();
169
170         /**
171          * Email address
172          *
173          * @param emailAddress the emailAddress to set
174          */
175         public void setEmailAddress (final String emailAddress);
176
177         /**
178          * Phone number
179          *
180          * @return the phoneNumber
181          */
182         public String getPhoneNumber ();
183
184         /**
185          * Phone number
186          *
187          * @param phoneNumber the phoneNumber to set
188          */
189         public void setPhoneNumber (final String phoneNumber);
190
191         /**
192          * Fax number
193          *
194          * @return the faxNumber
195          */
196         public String getFaxNumber ();
197
198         /**
199          * Fax number
200          *
201          * @param faxNumber the faxNumber to set
202          */
203         public void setFaxNumber (final String faxNumber);
204
205         /**
206          * Cellphone number
207          *
208          * @return the cellphoneNumber
209          */
210         public String getCellphoneNumber ();
211
212         /**
213          * Cellphone number
214          *
215          * @param cellphoneNumber the cellphoneNumber to set
216          */
217         public void setCellphoneNumber (final String cellphoneNumber);
218
219         /**
220          * Checks whether all required personal data is set
221          *
222          * @return Whether the required personal data is set
223          */
224         public boolean isRequiredPersonalDataSet ();
225 }