]> git.mxchange.org Git - addressbook-swing.git/blob - Addressbook/src/org/mxchange/addressbook/contact/Contact.java
Initial commit
[addressbook-swing.git] / Addressbook / src / org / mxchange / addressbook / contact / Contact.java
1 /*\r
2  * Copyright (C) 2015 Roland Haeder\r
3  *\r
4  * This program is free software: you can redistribute it and/or modify\r
5  * it under the terms of the GNU General Public License as published by\r
6  * the Free Software Foundation, either version 3 of the License, or\r
7  * (at your option) any later version.\r
8  *\r
9  * This program is distributed in the hope that it will be useful,\r
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
12  * GNU General Public License for more details.\r
13  *\r
14  * You should have received a copy of the GNU General Public License\r
15  * along with this program.  If not, see <http://www.gnu.org/licenses/>.\r
16  */\r
17 package org.mxchange.addressbook.contact;\r
18 \r
19 import org.mxchange.addressbook.FrameworkInterface;\r
20 \r
21 /**\r
22  *\r
23  * @author Roland Haeder\r
24  */\r
25 public interface Contact extends FrameworkInterface {\r
26 \r
27     /**\r
28      * Enables the flag "own data" which signals that this contact is the user's\r
29      * own data.\r
30      */\r
31     public void enableFlagOwnContact ();\r
32 \r
33     /**\r
34      * Checks whether the contact is user's own data\r
35      *\r
36      * @return Own data?\r
37      */\r
38     public boolean isOwnContact ();\r
39 \r
40     /**\r
41      * Gender of the contact\r
42      *\r
43      * @return the gender\r
44      */\r
45     public char getGender ();\r
46 \r
47     /**\r
48      * Surname\r
49      *\r
50      * @return the surname\r
51      */\r
52     public String getSurname ();\r
53 \r
54     /**\r
55      * Family name\r
56      *\r
57      * @return the familyName\r
58      */\r
59     public String getFamilyName ();\r
60 \r
61     /**\r
62      * Companyname\r
63      *\r
64      * @return the companyName\r
65      */\r
66     public String getCompanyName ();\r
67 \r
68     /**\r
69      * Street\r
70      *\r
71      * @return the street\r
72      */\r
73     public String getStreet ();\r
74 \r
75     /**\r
76      * House number\r
77      *\r
78      * @return the houseNumber\r
79      */\r
80     public int getHouseNumber ();\r
81 \r
82     /**\r
83      * ZIP code\r
84      *\r
85      * @return the zipCode\r
86      */\r
87     public int getZipCode ();\r
88 \r
89     /**\r
90      * City\r
91      *\r
92      * @return the city\r
93      */\r
94     public String getCity ();\r
95 \r
96     /**\r
97      * Country code\r
98      *\r
99      * @return the countryCode\r
100      */\r
101     public String getCountryCode ();\r
102 \r
103     /**\r
104      * Email address\r
105      *\r
106      * @return the emailAddress\r
107      */\r
108     public String getEmailAddress ();\r
109 \r
110     /**\r
111      * Phone number\r
112      *\r
113      * @return the phoneNumber\r
114      */\r
115     public String getPhoneNumber ();\r
116 \r
117     /**\r
118      * Fax number\r
119      *\r
120      * @return the faxNumber\r
121      */\r
122     public String getFaxNumber ();\r
123 \r
124     /**\r
125      * Cellphone number\r
126      *\r
127      * @return the cellphoneNumber\r
128      */\r
129     public String getCellphoneNumber ();\r
130 \r
131     /**\r
132      * Birth day\r
133      *\r
134      * @return the birthday\r
135      */\r
136     public String getBirthday ();\r
137 \r
138     /**\r
139      * Comments\r
140      *\r
141      * @return the comment\r
142      */\r
143     public String getComment ();\r
144 }\r