Class DcatContactPoint
java.lang.Object
org.odpi.openmetadata.frameworks.integration.dcat.properties.DcatContactPoint
DcatContactPoint describes who to contact about a resource (vcard:Kind).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.getEmail()Return the email address of the contact (vcard:hasEmail).getIri()Return the IRI that identifies the contact point.getName()Return the formatted name of the contact (vcard:fn).Return the name of the contact's organization (vcard:organization-name).Return the telephone number of the contact (vcard:hasTelephone).getUrl()Return the web page for the contact (vcard:hasURL).inthashCode()Return hash code based on properties.voidSet up the email address of the contact (vcard:hasEmail).voidSet up the IRI that identifies the contact point.voidSet up the formatted name of the contact (vcard:fn).voidsetOrganizationName(String organizationName) Set up the name of the contact's organization (vcard:organization-name).voidsetTelephone(String telephone) Set up the telephone number of the contact (vcard:hasTelephone).voidSet up the web page for the contact (vcard:hasURL).toString()Standard toString method.
-
Constructor Details
-
DcatContactPoint
public DcatContactPoint()Default constructor
-
-
Method Details
-
getIri
Return the IRI that identifies the contact point.- Returns:
- string IRI
-
setIri
Set up the IRI that identifies the contact point.- Parameters:
iri- string IRI
-
getName
Return the formatted name of the contact (vcard:fn).- Returns:
- string name
-
setName
Set up the formatted name of the contact (vcard:fn).- Parameters:
name- string name
-
getEmail
Return the email address of the contact (vcard:hasEmail).- Returns:
- string email address
-
setEmail
Set up the email address of the contact (vcard:hasEmail).- Parameters:
email- string email address
-
getTelephone
Return the telephone number of the contact (vcard:hasTelephone).- Returns:
- string telephone number
-
setTelephone
Set up the telephone number of the contact (vcard:hasTelephone).- Parameters:
telephone- string telephone number
-
getUrl
Return the web page for the contact (vcard:hasURL).- Returns:
- string URL
-
setUrl
Set up the web page for the contact (vcard:hasURL).- Parameters:
url- string URL
-
getOrganizationName
Return the name of the contact's organization (vcard:organization-name).- Returns:
- string name
-
setOrganizationName
Set up the name of the contact's organization (vcard:organization-name).- Parameters:
organizationName- string name
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Return hash code based on properties.
-