Class ExternalReferenceProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.externalreferences.ExternalReferenceProperties
- Direct Known Subclasses:
ExternalGlossaryLinkProperties
ExternalReferenceProperties stores information about an link to an external resource that is relevant to this element.
-
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 display name of this external reference.Return the description of the reference (with respect to this governance definition).Return the identifier given to this reference (with respect to this governance definition).Return the name of the organization that owns the resource that this external reference represents.Return the description of the resource that this external reference represents.getURI()
Return the URI used to retrieve the resource that this external reference represents.Return the version of the resource that this external reference represents.int
hashCode()
Uses the guid to create a hashcode.void
setDisplayName
(String displayName) Set up the display name of this external reference.void
setLinkDescription
(String linkDescription) Set up the description of the reference (with respect to the governance definition this reference is linked to).void
setLocalReferenceId
(String localReferenceId) Set up the identifier given to this reference (with respect to this governance definition).void
setOrganization
(String organization) Set up the name of the organization that owns the resource that this external reference represents.void
setResourceDescription
(String resourceDescription) Set up the description of the resource that this external reference represents.void
Set up the URI used to retrieve the resource that this external reference represents.void
setVersion
(String version) Set up the version of the resource that this external reference represents.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
getAdditionalProperties, getQualifiedName, getVendorProperties, setAdditionalProperties, setQualifiedName, setVendorProperties
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, getTypeName, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setTypeName
-
Constructor Details
-
ExternalReferenceProperties
public ExternalReferenceProperties()Default constructor -
ExternalReferenceProperties
Copy/clone constructor.- Parameters:
template
- element to copy
-
-
Method Details
-
getLocalReferenceId
Return the identifier given to this reference (with respect to this governance definition).- Returns:
- localReferenceId
-
setLocalReferenceId
Set up the identifier given to this reference (with respect to this governance definition).- Parameters:
localReferenceId
- String name
-
getDisplayName
Return the display name of this external reference.- Returns:
- String display name.
-
setDisplayName
Set up the display name of this external reference.- Parameters:
displayName
- - string name
-
getLinkDescription
Return the description of the reference (with respect to this governance definition).- Returns:
- String link description.
-
setLinkDescription
Set up the description of the reference (with respect to the governance definition this reference is linked to).- Parameters:
linkDescription
- String description
-
getResourceDescription
Return the description of the resource that this external reference represents.- Returns:
- String description
-
setResourceDescription
Set up the description of the resource that this external reference represents.- Parameters:
resourceDescription
- String description
-
getURI
Return the URI used to retrieve the resource that this external reference represents.- Returns:
- String URI
-
setURI
Set up the URI used to retrieve the resource that this external reference represents.- Parameters:
uri
- String URI
-
getVersion
Return the version of the resource that this external reference represents.- Returns:
- String version identifier
-
setVersion
Set up the version of the resource that this external reference represents.- Parameters:
version
- String identifier
-
getOrganization
Return the name of the organization that owns the resource that this external reference represents.- Returns:
- String organization name
-
setOrganization
Set up the name of the organization that owns the resource that this external reference represents.- Parameters:
organization
- String name
-
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()Uses the guid to create a hashcode.- Overrides:
hashCode
in classReferenceableProperties
- Returns:
- int hash code
-