public class Contact extends java.lang.Object
An individual with contact information.
| Constructor and Description |
|---|
Contact()
|
Contact(java.lang.String contactName,
java.lang.String departmentName,
java.lang.String telephone,
java.lang.String fax,
java.lang.String email)
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDepartment()
|
java.lang.String |
getEmail()
|
java.lang.String |
getFax()
|
java.lang.String |
getName()
|
java.lang.String |
getTelephone()
|
Contact |
setDepartment(java.lang.String department)
|
Contact |
setEmail(java.lang.String email)
|
Contact |
setFax(java.lang.String faxNumber)
|
Contact |
setName(java.lang.String name)
|
Contact |
setTelephone(java.lang.String telephone)
|
public Contact()
Instantiates a new contact.
public Contact(java.lang.String contactName, java.lang.String departmentName, java.lang.String telephone, java.lang.String fax, java.lang.String email)
Instantiates a new trade contact.
contactName - the person first and last namedepartmentName - the department nametelephone - the telephone numberfax - the fax numberemail - the emailpublic java.lang.String getDepartment()
Gets the department name.
EXTENDED
public java.lang.String getEmail()
Gets the email contacts E-mail address.
EXTENDED
example@konik.io
public java.lang.String getFax()
Gets the Fax number.
EXTENDED
+49 (123) 456789-999
public java.lang.String getName()
Gets the contact person name.
EXTENDED
public java.lang.String getTelephone()
Gets the telephone number.
EXTENDED
+49 (123) 456789-999
public Contact setDepartment(java.lang.String department)
Sets the department name.
EXTENDED
department - the new department namepublic Contact setEmail(java.lang.String email)
Sets the email contacts E-mail address.
EXTENDED.
example@konik.io
email - the new emailpublic Contact setFax(java.lang.String faxNumber)
Sets the telephone number providing the string only.
EXTENDED
+49 (123) 456789-999
faxNumber - the new fax numberpublic Contact setName(java.lang.String name)
Sets the contact person name.
EXTENDED
name - the new person namepublic Contact setTelephone(java.lang.String telephone)
Sets the telephone number providing the string only.
EXTENDED
+49 (123) 456789-999
telephone - the new telephone universal communicationCopyright © 2014 konik.io. All Rights Reserved.