Class ExternalReferenceElement
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.metadataelements.ExternalReferenceElement
- All Implemented Interfaces:
CorrelatedMetadataElement
ExternalReferenceElement 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.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
setProperties
(ExternalReferenceProperties properties) Set up the list of links to external documentation that are relevant to this element.toString()
JSON-style toString.
-
Constructor Details
-
ExternalReferenceElement
public ExternalReferenceElement()Default Constructor -
ExternalReferenceElement
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
-
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
-