import java.util.Calendar;
import java.util.Date;
import org.mxchange.jcontacts.contact.gender.Gender;
+import org.mxchange.jcountry.data.Country;
+import org.mxchange.jphone.phonenumbers.cellphone.DialableCellphoneNumber;
+import org.mxchange.jphone.phonenumbers.fax.DialableFaxNumber;
+import org.mxchange.jphone.phonenumbers.landline.DialableLandLineNumber;
/**
* A general contact interface
* <p>
* @return the birthday
*/
- public Date getBirthday ();
+ public Date getContactBirthday ();
/**
* Birth day
* <p>
* @param birthday the birthday to set
*/
- public void setBirthday (final Date birthday);
+ public void setContactBirthday (final Date birthday);
/**
- * Cellphone number
+ * Getter for cellphone number
* <p>
- * @return the cellphoneNumber
+ * @return Cellphone number
*/
- public String getCellphoneNumber ();
+ public DialableCellphoneNumber getContactCellphoneNumber ();
/**
- * Cellphone number
+ * Setter for cellphone number
* <p>
- * @param cellphoneNumber the cellphoneNumber to set
+ * @param cellphoneNumber Cellphone number
*/
- public void setCellphoneNumber (final String cellphoneNumber);
+ public void setContactCellphoneNumber (final DialableCellphoneNumber cellphoneNumber);
/**
* City
* <p>
* @return the city
*/
- public String getCity ();
+ public String getContactCity ();
/**
* City
* <p>
* @param city the city to set
*/
- public void setCity (final String city);
+ public void setContactCity (final String city);
/**
* Comments
* <p>
* @return the comment
*/
- public String getComment ();
+ public String getContactComment ();
/**
* Comments
* <p>
* @param comment the comment to set
*/
- public void setComment (final String comment);
-
- /**
- * Company name
- * <p>
- * @return the companyName
- */
- public String getCompanyName ();
-
- /**
- * Company name
- * <p>
- * @param companyName the companyName to set
- */
- public void setCompanyName (final String companyName);
+ public void setContactComment (final String comment);
/**
* Id number
* <p>
* @return the countryCode
*/
- public String getCountryCode ();
+ public Country getContactCountry ();
/**
* Country code
* <p>
- * @param countryCode the countryCode to set
+ * @param contactCountry the countryCode to set
*/
- public void setCountryCode (final String countryCode);
+ public void setContactCountry (final Country contactCountry);
/**
* Getter for "created" timestamp
* <p>
* @return "created" timestamp
*/
- public Calendar getCreated ();
+ public Calendar getContactCreated ();
/**
* Setter for "created" timestamp
* <p>
* @param created "created" timestamp
*/
- public void setCreated (final Calendar created);
+ public void setContactCreated (final Calendar created);
/**
* Email address
* <p>
* @return the emailAddress
*/
- public String getEmailAddress ();
+ public String getContactEmailAddress ();
/**
* Email address
* <p>
* @param emailAddress the emailAddress to set
*/
- public void setEmailAddress (final String emailAddress);
+ public void setContactEmailAddress (final String emailAddress);
/**
* Family name
* <p>
* @return the familyName
*/
- public String getFamilyName ();
+ public String getContactFamilyName ();
/**
* Family name
* <p>
* @param familyName the familyName to set
*/
- public void setFamilyName (final String familyName);
+ public void setContactFamilyName (final String familyName);
/**
* Fax number
* <p>
* @return the faxNumber
*/
- public String getFaxNumber ();
+ public DialableFaxNumber getContactFaxNumber ();
/**
* Fax number
* <p>
* @param faxNumber the faxNumber to set
*/
- public void setFaxNumber (final String faxNumber);
+ public void setContactFaxNumber (final DialableFaxNumber faxNumber);
/**
* First name
* <p>
* @return the first name
*/
- public String getFirstName ();
+ public String getContactFirstName ();
/**
* First name
* <p>
* @param firstName the first name to set
*/
- public void setFirstName (final String firstName);
+ public void setContactFirstName (final String firstName);
/**
* Gender of the contact
* <p>
* @return the gender
*/
- public Gender getGender ();
+ public Gender getContactGender ();
/**
* Gender of the contact
* <p>
* @param gender the gender to set
*/
- public void setGender (final Gender gender);
+ public void setContactGender (final Gender gender);
/**
* House number
* <p>
* @return the houseNumber
*/
- public Short getHouseNumber ();
+ public Short getContactHouseNumber ();
/**
* House number
* <p>
* @param houseNumber the houseNumber to set
*/
- public void setHouseNumber (final Short houseNumber);
+ public void setContactHouseNumber (final Short houseNumber);
/**
* Setter for own contact
* <p>
* @param ownContact Own contact
*/
- public void setOwnContact (final Boolean ownContact);
+ public void setContactOwnContact (final Boolean ownContact);
/**
- * Phone number
+ * Getter for phone number
* <p>
- * @return the phoneNumber
+ * @return Phone number
*/
- public String getPhoneNumber ();
+ public DialableLandLineNumber getContactPhoneNumber ();
/**
- * Phone number
+ * Setter for phone number
* <p>
- * @param phoneNumber the phoneNumber to set
+ * @param phoneNumber Phone number
*/
- public void setPhoneNumber (final String phoneNumber);
+ public void setContactPhoneNumber (final DialableLandLineNumber phoneNumber);
/**
* Street
* <p>
* @return the street
*/
- public String getStreet ();
+ public String getContactStreet ();
/**
* Street
* <p>
* @param street the street to set
*/
- public void setStreet (final String street);
+ public void setContactStreet (final String street);
/**
* Getter for "updated" timestamp
* <p>
* @return "updated" timestamp
*/
- public Calendar getUpdated ();
+ public Calendar getContactUpdated ();
/**
* Getter for "updated" timestamp
* <p>
* @param updated "updated" timestamp
*/
- public void setUpdated (final Calendar updated);
+ public void setContactUpdated (final Calendar updated);
/**
* ZIP code
* <p>
* @return the zipCode
*/
- public Long getZipCode ();
+ public Integer getContactZipCode ();
/**
* ZIP code
* <p>
* @param zipCode the zipCode to set
*/
- public void setZipCode (final Long zipCode);
+ public void setContactZipCode (final Integer zipCode);
/**
* Checks whether the contact is user's own data