Class ExternalReferenceLinkElement
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.metadataelements.ExternalReferenceLinkElement
- All Implemented Interfaces:
CorrelatedMetadataElement
ExternalReferenceLinkElement stores information about an link to an external resource that is relevant to this element.
-
Constructor Summary
ConstructorDescriptionDefault ConstructorCopy/clone Constructor - the resulting object. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that returns true if containing properties are the same.Return the details of the external identifier and other correlation properties about the metadata source.Return the element header associated with the properties.getLink()
Return the specific link properties used to identify this link to the attached element.Return the link to external documentation that are relevant to this element.int
hashCode()
Hash of propertiesvoid
setCorrelationHeaders
(List<MetadataCorrelationHeader> correlationHeaders) Set up the details of the external identifier and other correlation properties about the metadata source.void
setElementHeader
(ElementHeader elementHeader) Set up the element header associated with the properties.void
Set up the specific link properties used to identify this link to the attached element.void
setProperties
(ExternalReferenceProperties properties) Set up the list of links to external documentation that are relevant to this element.toString()
JSON-style toString.
-
Constructor Details
-
ExternalReferenceLinkElement
public ExternalReferenceLinkElement()Default Constructor -
ExternalReferenceLinkElement
Copy/clone Constructor - the resulting object.- Parameters:
template
- object being copied
-
-
Method Details
-
getElementHeader
Return the element header associated with the properties.- Specified by:
getElementHeader
in interfaceCorrelatedMetadataElement
- Returns:
- element header object
-
setElementHeader
Set up the element header associated with the properties.- Specified by:
setElementHeader
in interfaceCorrelatedMetadataElement
- Parameters:
elementHeader
- element header object
-
getCorrelationHeaders
Return the details of the external identifier and other correlation properties about the metadata source. There is one entry in the list for each element in the third party technology that maps to the single open source element.- Specified by:
getCorrelationHeaders
in interfaceCorrelatedMetadataElement
- Returns:
- list of correlation properties objects
-
setCorrelationHeaders
Set up the details of the external identifier and other correlation properties about the metadata source. There is one entry in the list for each element in the third party technology that maps to the single open source element.- Specified by:
setCorrelationHeaders
in interfaceCorrelatedMetadataElement
- Parameters:
correlationHeaders
- list of correlation properties objects
-
getLink
Return the specific link properties used to identify this link to the attached element.- Returns:
- link properties
-
setLink
Set up the specific link properties used to identify this link to the attached element.- Parameters:
link
- properties
-
getProperties
Return the link to external documentation that are relevant to this element.- Returns:
- list of external references
-
setProperties
Set up the list of links to external documentation that are relevant to this element.- Parameters:
properties
- of external references
-
toString
JSON-style toString. -
equals
Equals method that returns true if containing properties are the same. -
hashCode
public int hashCode()Hash of properties
-