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.jshopeelib.beans.remote.customer;
19 import javax.ejb.Remote;
20 import org.mxchange.jcore.model.contact.gender.Gender;
21 import org.mxchange.jshopeelib.beans.ShopBean;
24 * An interface for customer beans
26 * @author Roland Haeder
29 public interface CustomerSessionBeanRemote extends ShopBean {
31 * Some "getter" for translated gender of the contact
33 * @return Translated / human-readable gender
35 public String getTranslatedGender ();
38 * Gender of the contact
42 public Gender getGender ();
45 * Gender of the contact
47 * @param gender the gender to set
49 public void setGender (final Gender gender);
54 * @return the first name
56 public String getFirstName ();
61 * @param firstName the first name to set
63 public void setFirstName (final String firstName);
68 * @return the familyName
70 public String getFamilyName ();
75 * @param familyName the familyName to set
77 public void setFamilyName (final String familyName);
82 * @return the companyName
84 public String getCompanyName ();
89 * @param companyName the companyName to set
91 public void setCompanyName (final String companyName);
98 public String getStreet ();
103 * @param street the street to set
105 public void setStreet (final String street);
110 * @return the houseNumber
112 public Long getHouseNumber ();
117 * @param houseNumber the houseNumber to set
119 public void setHouseNumber (final Long houseNumber);
124 * @return the zipCode
126 public Long getZipCode ();
131 * @param zipCode the zipCode to set
133 public void setZipCode (final Long zipCode);
140 public String getCity ();
145 * @param city the city to set
147 public void setCity (final String city);
152 * @return the countryCode
154 public String getCountryCode ();
159 * @param countryCode the countryCode to set
161 public void setCountryCode (final String countryCode);
166 * @return the emailAddress
168 public String getEmailAddress ();
173 * @param emailAddress the emailAddress to set
175 public void setEmailAddress (final String emailAddress);
180 * @return the phoneNumber
182 public String getPhoneNumber ();
187 * @param phoneNumber the phoneNumber to set
189 public void setPhoneNumber (final String phoneNumber);
194 * @return the faxNumber
196 public String getFaxNumber ();
201 * @param faxNumber the faxNumber to set
203 public void setFaxNumber (final String faxNumber);
208 * @return the cellphoneNumber
210 public String getCellphoneNumber ();
215 * @param cellphoneNumber the cellphoneNumber to set
217 public void setCellphoneNumber (final String cellphoneNumber);
222 * @return the birthday
224 public String getBirthday ();
229 * @param birthday the birthday to set
231 public void setBirthday (final String birthday);
236 * @return the comment
238 public String getComment ();
243 * @param comment the comment to set
245 public void setComment (final String comment);
248 * Checks whether the contact is user's own data
252 public boolean isOwnContact ();