*/\r
public interface Contact extends FrameworkInterface {\r
\r
- /**\r
- * Enables the flag "own data" which signals that this contact is the user's\r
- * own data.\r
- */\r
- public void enableFlagOwnContact ();\r
-\r
/**\r
* Some "getter" for translated gender of the contact\r
* @return Translated / human-readable gender\r
*/\r
- public String getTranslatedGender ();\r
+ public String getTranslatedGender();\r
\r
/**\r
* Checks whether the contact is user's own data\r
*\r
* @return Own data?\r
*/\r
- public boolean isOwnContact ();\r
+ public boolean isOwnContact();\r
\r
/**\r
* Gender of the contact\r
*\r
* @return the gender\r
*/\r
- public char getGender ();\r
+ public char getGender();\r
\r
/**\r
* Surname\r
*\r
* @return the surname\r
*/\r
- public String getSurname ();\r
+ public String getSurname();\r
\r
/**\r
* Family name\r
*\r
* @return the familyName\r
*/\r
- public String getFamilyName ();\r
+ public String getFamilyName();\r
\r
/**\r
* Companyname\r
*\r
* @return the companyName\r
*/\r
- public String getCompanyName ();\r
+ public String getCompanyName();\r
\r
/**\r
* Street\r
*\r
* @return the street\r
*/\r
- public String getStreet ();\r
+ public String getStreet();\r
\r
/**\r
* House number\r
*\r
* @return the houseNumber\r
*/\r
- public int getHouseNumber ();\r
+ public int getHouseNumber();\r
\r
/**\r
* ZIP code\r
*\r
* @return the zipCode\r
*/\r
- public int getZipCode ();\r
+ public long getZipCode();\r
\r
/**\r
* City\r
*\r
* @return the city\r
*/\r
- public String getCity ();\r
+ public String getCity();\r
\r
/**\r
* Country code\r
*\r
* @return the countryCode\r
*/\r
- public String getCountryCode ();\r
+ public String getCountryCode();\r
\r
/**\r
* Email address\r
*\r
* @return the emailAddress\r
*/\r
- public String getEmailAddress ();\r
+ public String getEmailAddress();\r
\r
/**\r
* Phone number\r
*\r
* @return the phoneNumber\r
*/\r
- public String getPhoneNumber ();\r
+ public String getPhoneNumber();\r
\r
/**\r
* Fax number\r
*\r
* @return the faxNumber\r
*/\r
- public String getFaxNumber ();\r
+ public String getFaxNumber();\r
\r
/**\r
* Cellphone number\r
*\r
* @return the cellphoneNumber\r
*/\r
- public String getCellphoneNumber ();\r
+ public String getCellphoneNumber();\r
\r
/**\r
* Birth day\r
*\r
* @return the birthday\r
*/\r
- public String getBirthday ();\r
+ public String getBirthday();\r
\r
/**\r
* Comments\r
*\r
* @return the comment\r
*/\r
- public String getComment ();\r
+ public String getComment();\r
\r
/**\r
* Shows the contact to the user\r
*/\r
public void show (final Client client);\r
\r
+ /**\r
+ * Updates address data in this Contact instance\r
+ * \r
+ * @param street Street\r
+ * @param zipCode ZIP code\r
+ * @param city City\r
+ * @param countryCode Country code\r
+ */\r
+ public void updateAddressData (final String street, final long zipCode, final String city, final String countryCode);\r
+\r
/**\r
* Updates name data in this Contact instance\r
+ * \r
* @param gender Gender (M, F, C)\r
* @param surname Surname\r
* @param familyName Family name\r
* @param companyName Company name\r
*/\r
public void updateNameData (final char gender, final String surname, final String familyName, final String companyName);\r
+\r
+ /**\r
+ * Updates other data in this Contact instance\r
+ * \r
+ * @param phoneNumber Phone number\r
+ * @param cellNumber Cellphone number\r
+ * @param faxNumber Fax number\r
+ * @param email Email address\r
+ * @param birthday Birthday\r
+ * @param comment Comments\r
+ */\r
+ public void updateOtherData (final String phoneNumber, final String cellNumber, final String faxNumber, final String email, final String birthday, final String comment);\r
}\r