]> git.mxchange.org Git - jcontacts-core.git/blobdiff - src/org/mxchange/jcontacts/contact/Contact.java
Updated copyright year
[jcontacts-core.git] / src / org / mxchange / jcontacts / contact / Contact.java
index 2ceaaa41ab3b2ee41004b9040842163e2cf8f47b..65abd31122a21f9cad2acaa35ace9cf866624546 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2015 Roland Haeder
+ * Copyright (C) 2016 Roland Haeder
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -37,259 +37,273 @@ public interface Contact extends Serializable {
         * <p>
         * @param contact Source instance
         */
-       public void copyAll (final Contact contact);
+       void copyAll (final Contact contact);
 
        /**
         * Birth day
         * <p>
         * @return the birthday
         */
-       public Date getContactBirthday ();
+       Date getContactBirthday ();
 
        /**
         * Birth day
         * <p>
         * @param birthday the birthday to set
         */
-       public void setContactBirthday (final Date birthday);
+       void setContactBirthday (final Date birthday);
 
        /**
         * Getter for cellphone number
         * <p>
         * @return Cellphone number
         */
-       public DialableCellphoneNumber getContactCellphoneNumber ();
+       DialableCellphoneNumber getContactCellphoneNumber ();
 
        /**
         * Setter for cellphone number
         * <p>
         * @param cellphoneNumber Cellphone number
         */
-       public void setContactCellphoneNumber (final DialableCellphoneNumber cellphoneNumber);
+       void setContactCellphoneNumber (final DialableCellphoneNumber cellphoneNumber);
 
        /**
         * City
         * <p>
         * @return the city
         */
-       public String getContactCity ();
+       String getContactCity ();
 
        /**
         * City
         * <p>
         * @param city the city to set
         */
-       public void setContactCity (final String city);
+       void setContactCity (final String city);
 
        /**
         * Comments
         * <p>
         * @return the comment
         */
-       public String getContactComment ();
+       String getContactComment ();
 
        /**
         * Comments
         * <p>
         * @param comment the comment to set
         */
-       public void setContactComment (final String comment);
+       void setContactComment (final String comment);
 
        /**
         * Id number
         * <p>
         * @return the contactId
         */
-       public Long getContactId ();
+       Long getContactId ();
 
        /**
         * Id number
         * <p>
         * @param id the contactId to set
         */
-       public void setContactId (final Long id);
+       void setContactId (final Long id);
 
        /**
         * Country code
         * <p>
         * @return the countryCode
         */
-       public Country getContactCountry ();
+       Country getContactCountry ();
 
        /**
         * Country code
         * <p>
         * @param contactCountry the countryCode to set
         */
-       public void setContactCountry (final Country contactCountry);
+       void setContactCountry (final Country contactCountry);
 
        /**
         * Getter for "created" timestamp
         * <p>
         * @return "created" timestamp
         */
-       public Calendar getContactCreated ();
+       Calendar getContactCreated ();
 
        /**
         * Setter for "created" timestamp
         * <p>
         * @param created "created" timestamp
         */
-       public void setContactCreated (final Calendar created);
+       void setContactCreated (final Calendar created);
 
        /**
         * Email address
         * <p>
         * @return the emailAddress
         */
-       public String getContactEmailAddress ();
+       String getContactEmailAddress ();
 
        /**
         * Email address
         * <p>
         * @param emailAddress the emailAddress to set
         */
-       public void setContactEmailAddress (final String emailAddress);
+       void setContactEmailAddress (final String emailAddress);
 
        /**
         * Family name
         * <p>
         * @return the familyName
         */
-       public String getContactFamilyName ();
+       String getContactFamilyName ();
 
        /**
         * Family name
         * <p>
         * @param familyName the familyName to set
         */
-       public void setContactFamilyName (final String familyName);
+       void setContactFamilyName (final String familyName);
 
        /**
         * Fax number
         * <p>
         * @return the faxNumber
         */
-       public DialableFaxNumber getContactFaxNumber ();
+       DialableFaxNumber getContactFaxNumber ();
 
        /**
         * Fax number
         * <p>
         * @param faxNumber the faxNumber to set
         */
-       public void setContactFaxNumber (final DialableFaxNumber faxNumber);
+       void setContactFaxNumber (final DialableFaxNumber faxNumber);
 
        /**
         * First name
         * <p>
         * @return the first name
         */
-       public String getContactFirstName ();
+       String getContactFirstName ();
 
        /**
         * First name
         * <p>
         * @param firstName the first name to set
         */
-       public void setContactFirstName (final String firstName);
+       void setContactFirstName (final String firstName);
 
        /**
         * Gender of the contact
         * <p>
         * @return the gender
         */
-       public Gender getContactGender ();
+       Gender getContactGender ();
 
        /**
         * Gender of the contact
         * <p>
         * @param gender the gender to set
         */
-       public void setContactGender (final Gender gender);
+       void setContactGender (final Gender gender);
 
        /**
         * House number
         * <p>
         * @return the houseNumber
         */
-       public Short getContactHouseNumber ();
+       Short getContactHouseNumber ();
 
        /**
         * House number
         * <p>
         * @param houseNumber the houseNumber to set
         */
-       public void setContactHouseNumber (final Short houseNumber);
+       void setContactHouseNumber (final Short houseNumber);
 
        /**
         * Setter for own contact
         * <p>
         * @param ownContact Own contact
         */
-       public void setContactOwnContact (final Boolean ownContact);
+       void setContactOwnContact (final Boolean ownContact);
 
        /**
         * Getter for phone number
         * <p>
         * @return Phone number
         */
-       public DialableLandLineNumber getContactPhoneNumber ();
+       DialableLandLineNumber getContactPhoneNumber ();
 
        /**
         * Setter for phone number
         * <p>
         * @param phoneNumber Phone number
         */
-       public void setContactPhoneNumber (final DialableLandLineNumber phoneNumber);
+       void setContactPhoneNumber (final DialableLandLineNumber phoneNumber);
 
        /**
         * Street
         * <p>
         * @return the street
         */
-       public String getContactStreet ();
+       String getContactStreet ();
 
        /**
         * Street
         * <p>
         * @param street the street to set
         */
-       public void setContactStreet (final String street);
+       void setContactStreet (final String street);
+
+       /**
+        * Getter for contact's title
+        * <p>
+        * @return Contact's title
+        */
+       String getContactTitle ();
+
+       /**
+        * Setter for contact's title
+        * <p>
+        * @param contactTitle Contact's title
+        */
+       void setContactTitle (final String contactTitle);
 
        /**
         * Getter for "updated" timestamp
         * <p>
         * @return "updated" timestamp
         */
-       public Calendar getContactUpdated ();
+       Calendar getContactUpdated ();
 
        /**
         * Getter for "updated" timestamp
         * <p>
         * @param updated "updated" timestamp
         */
-       public void setContactUpdated (final Calendar updated);
+       void setContactUpdated (final Calendar updated);
 
        /**
         * ZIP code
         * <p>
         * @return the zipCode
         */
-       public Integer getContactZipCode ();
+       Integer getContactZipCode ();
 
        /**
         * ZIP code
         * <p>
         * @param zipCode the zipCode to set
         */
-       public void setContactZipCode (final Integer zipCode);
+       void setContactZipCode (final Integer zipCode);
 
        /**
         * Checks whether the contact is user's own data
         * <p>
         * @return Own data?
         */
-       public Boolean isOwnContact ();
+       Boolean isOwnContact ();
 
        /**
         * Check if contacts are same or throw an exception
@@ -299,8 +313,8 @@ public interface Contact extends Serializable {
         * @return Whether both contacts are same TODO Needs a lot improvements
         */
        @Override
-       public boolean equals (final Object object);
+       boolean equals (final Object object);
 
        @Override
-       public int hashCode ();
+       int hashCode ();
 }