public interface Contact extends Constructible, Extensible<Contact>
Modifier and Type | Method and Description |
---|---|
default Contact |
email(java.lang.String email)
Sets this Contact instance's contact email to the given email and returns this instance of Contact
|
java.lang.String |
getEmail()
Returns the contact email of this Contact instance.
|
java.lang.String |
getName()
Returns the identifying name of this Contact instance.
|
java.lang.String |
getUrl()
Returns the URL pointing to the contact information for this Contact instance.
|
default Contact |
name(java.lang.String name)
Sets this Contact instance's identifying name to the given name and returns this instance of Contact.
|
void |
setEmail(java.lang.String email)
Sets the contact email of this instance of Contact.
|
void |
setName(java.lang.String name)
Sets the identifying name of this Contact instance.
|
void |
setUrl(java.lang.String url)
Sets this Contact instance's URL pointing to the contact information.
|
default Contact |
url(java.lang.String url)
Sets this Contact instance's URL pointing to the contact information and returns this instance of Contact.
|
addExtension, extensions, getExtensions, removeExtension, setExtensions
java.lang.String getName()
void setName(java.lang.String name)
name
- the name of the contact person/organizationdefault Contact name(java.lang.String name)
name
- the name of the contact person/organizationjava.lang.String getUrl()
void setUrl(java.lang.String url)
url
- the URL pointing to the contact informationdefault Contact url(java.lang.String url)
url
- the url pointing to the contact informationjava.lang.String getEmail()
void setEmail(java.lang.String email)
email
- the email of the contact person/organizationdefault Contact email(java.lang.String email)
email
- the email of the contact person/organization