/*
- * 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
import org.mxchange.jphone.phonenumbers.landline.DialableLandLineNumber;
/**
- * A general contact interface
+ * A general contact POJI
* <p>
* @author Roland Haeder<roland@mxchange.org>
*/
* <p>
* @return Phone number
*/
- DialableLandLineNumber getContactPhoneNumber ();
+ DialableLandLineNumber getContactLandLineNumber ();
/**
* Setter for phone number
* <p>
* @param phoneNumber Phone number
*/
- void setContactPhoneNumber (final DialableLandLineNumber phoneNumber);
+ void setContactLandLineNumber (final DialableLandLineNumber phoneNumber);
/**
* 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>
* <p>
* @param object Other possible contact class
* <p>
- * @return Whether both contacts are same TODO Needs a lot improvements
+ * @return Whether both contacts are same
*/
@Override
- boolean equals (final Object object);
+ boolean equals (final Object object);
@Override
- int hashCode ();
+ int hashCode ();
}