2 * Copyright (C) 2015 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.pizzaapplication.beans.customer;
19 import org.mxchange.jcore.model.contact.gender.Gender;
20 import org.mxchange.jshop.beans.FrameworkBean;
23 * An interface for customer beans
25 * @author Roland Haeder
27 public interface CustomerWebBean extends FrameworkBean {
29 * Some "getter" for translated gender of the contact
31 * @return Translated / human-readable gender
33 public String getTranslatedGender ();
36 * Gender of the contact
40 public Gender getGender ();
43 * Gender of the contact
45 * @param gender the gender to set
47 public void setGender (final Gender gender);
52 * @return the first name
54 public String getFirstName ();
59 * @param firstName the first name to set
61 public void setFirstName (final String firstName);
66 * @return the familyName
68 public String getFamilyName ();
73 * @param familyName the familyName to set
75 public void setFamilyName (final String familyName);
80 * @return the companyName
82 public String getCompanyName ();
87 * @param companyName the companyName to set
89 public void setCompanyName (final String companyName);
96 public String getStreet ();
101 * @param street the street to set
103 public void setStreet (final String street);
108 * @return the houseNumber
110 public Long getHouseNumber ();
115 * @param houseNumber the houseNumber to set
117 public void setHouseNumber (final Long houseNumber);
122 * @return the zipCode
124 public Long getZipCode ();
129 * @param zipCode the zipCode to set
131 public void setZipCode (final Long zipCode);
138 public String getCity ();
143 * @param city the city to set
145 public void setCity (final String city);
150 * @return the countryCode
152 public String getCountryCode ();
157 * @param countryCode the countryCode to set
159 public void setCountryCode (final String countryCode);
164 * @return the emailAddress
166 public String getEmailAddress ();
171 * @param emailAddress the emailAddress to set
173 public void setEmailAddress (final String emailAddress);
178 * @return the phoneNumber
180 public String getPhoneNumber ();
185 * @param phoneNumber the phoneNumber to set
187 public void setPhoneNumber (final String phoneNumber);
192 * @return the faxNumber
194 public String getFaxNumber ();
199 * @param faxNumber the faxNumber to set
201 public void setFaxNumber (final String faxNumber);
206 * @return the cellphoneNumber
208 public String getCellphoneNumber ();
213 * @param cellphoneNumber the cellphoneNumber to set
215 public void setCellphoneNumber (final String cellphoneNumber);
220 * @return the birthday
222 public String getBirthday ();
227 * @param birthday the birthday to set
229 public void setBirthday (final String birthday);
234 * @return the comment
236 public String getComment ();
241 * @param comment the comment to set
243 public void setComment (final String comment);
246 * Checks whether the contact is user's own data
250 public boolean isOwnContact ();