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