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