Class ExternalReferenceProperties
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.assetmanager.properties.ExternalReferenceProperties
- Direct Known Subclasses:
ExternalGlossaryLinkProperties
ExternalReferenceProperties describes the properties of URL link to a remote source of information.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the description of the external reference to help the reader know if they want to click on the link.Return the name for the external reference.Return the name or identifier or url of the organization that owns the external resource.getUrl()
Return the URL for the external reference.Return the version of the reference that this link refers to.int
hashCode()
Return hash code based on properties.void
setDescription
(String description) Set up the description of the external reference to help the reader know if they want to click on the link.void
setDisplayName
(String name) Set up name of the external reference.void
setOrganization
(String organization) Set up the name or identifier or url of the organization that owns the external resource.void
Set up the URL for the external reference.void
setVersion
(String version) Set up the version of the reference that this link refers to.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.properties.ReferenceableProperties
getAdditionalProperties, getEffectiveFrom, getEffectiveTo, getExtendedProperties, getQualifiedName, getTypeName, getVendorProperties, setAdditionalProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setQualifiedName, setTypeName, setVendorProperties
-
Constructor Details
-
ExternalReferenceProperties
public ExternalReferenceProperties()Default constructor -
ExternalReferenceProperties
Copy/clone constructor- Parameters:
template
- template object to copy.
-
-
Method Details
-
setDisplayName
Set up name of the external reference.- Parameters:
name
- String
-
getDisplayName
Return the name for the external reference.- Returns:
- String identifier
-
getUrl
Return the URL for the external reference.- Returns:
- string URL
-
setUrl
Set up the URL for the external reference.- Parameters:
url
- string URL
-
getVersion
Return the version of the reference that this link refers to.- Returns:
- string version
-
setVersion
Set up the version of the reference that this link refers to.- Parameters:
version
- string version
-
getDescription
Return the description of the external reference to help the reader know if they want to click on the link.- Returns:
- string description
-
setDescription
Set up the description of the external reference to help the reader know if they want to click on the link.- Parameters:
description
- string description
-
getOrganization
Return the name or identifier or url of the organization that owns the external resource.- Returns:
- string identifier
-
setOrganization
Set up the name or identifier or url of the organization that owns the external resource.- Parameters:
organization
- string identifier
-
toString
Standard toString method.- Overrides:
toString
in classReferenceableProperties
- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classReferenceableProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classReferenceableProperties
- Returns:
- int
-