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.jcore.contact;
19 import org.mxchange.jcore.FrameworkInterface;
20 import org.mxchange.jcore.client.Client;
24 * @author Roland Haeder
26 public interface Contact extends FrameworkInterface {
29 * Some "getter" for translated gender of the contact
31 * @return Translated / human-readable gender
33 public String getTranslatedGender ();
36 * Checks whether the contact is user's own data
40 public boolean isOwnContact ();
43 * Gender of the contact
47 public Gender getGender ();
50 * Gender of the contact
52 * @param gender the gender to set
54 public void setGender (final Gender gender);
61 public String getSurname ();
66 * @param surname the surname to set
68 public void setSurname (final String surname);
73 * @return the familyName
75 public String getFamilyName ();
80 * @param familyName the familyName to set
82 public void setFamilyName (final String familyName);
87 * @return the companyName
89 public String getCompanyName ();
94 * @param companyName the companyName to set
96 public void setCompanyName (final String companyName);
103 public String getStreet ();
108 * @param street the street to set
110 public void setStreet (final String street);
115 * @return the houseNumber
117 public int getHouseNumber ();
122 * @param houseNumber the houseNumber to set
124 public void setHouseNumber (final int houseNumber);
129 * @return the zipCode
131 public long getZipCode ();
136 * @param zipCode the zipCode to set
138 public void setZipCode (final long zipCode);
145 public String getCity ();
150 * @param city the city to set
152 public void setCity (final String city);
157 * @return the countryCode
159 public String getCountryCode ();
164 * @param countryCode the countryCode to set
166 public void setCountryCode (final String countryCode);
171 * @return the emailAddress
173 public String getEmailAddress ();
178 * @param emailAddress the emailAddress to set
180 public void setEmailAddress (final String emailAddress);
185 * @return the phoneNumber
187 public String getPhoneNumber ();
192 * @param phoneNumber the phoneNumber to set
194 public void setPhoneNumber (final String phoneNumber);
199 * @return the faxNumber
201 public String getFaxNumber ();
206 * @param faxNumber the faxNumber to set
208 public void setFaxNumber (final String faxNumber);
213 * @return the cellphoneNumber
215 public String getCellphoneNumber ();
220 * @param cellphoneNumber the cellphoneNumber to set
222 public void setCellphoneNumber (final String cellphoneNumber);
227 * @return the birthday
229 public String getBirthday ();
234 * @param birthday the birthday to set
236 public void setBirthday (final String birthday);
241 * @return the comment
243 public String getComment ();
248 * @param comment the comment to set
250 public void setComment (final String comment);
253 * Shows the contact to the user
255 * @param client Client instance to call back
257 public void show (final Client client);