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
ConstructorsConstructorDescriptionDefault ConstructorCopy/clone Constructor - the resulting object. -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals method that returns true if containing properties are the same.List<org.odpi.openmetadata.frameworks.governanceaction.properties.MetadataCorrelationHeader>Return the details of the external identifier and other correlation properties about the metadata source.org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementHeaderReturn the element header associated with the properties.org.odpi.openmetadata.frameworks.openmetadata.properties.externalreferences.ExternalReferencePropertiesReturn the link to external documentation that are relevant to this element.inthashCode()Hash of propertiesvoidsetCorrelationHeaders(List<org.odpi.openmetadata.frameworks.governanceaction.properties.MetadataCorrelationHeader> correlationHeaders) Set up the details of the external identifier and other correlation properties about the metadata source.voidsetElementHeader(org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementHeader elementHeader) Set up the element header associated with the properties.voidsetProperties(org.odpi.openmetadata.frameworks.openmetadata.properties.externalreferences.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
public org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementHeader getElementHeader()Return the element header associated with the properties.- Specified by:
getElementHeaderin interfaceCorrelatedMetadataElement- Returns:
- element header object
-
setElementHeader
public void setElementHeader(org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementHeader elementHeader) Set up the element header associated with the properties.- Specified by:
setElementHeaderin interfaceCorrelatedMetadataElement- Parameters:
elementHeader- element header object
-
getCorrelationHeaders
public List<org.odpi.openmetadata.frameworks.governanceaction.properties.MetadataCorrelationHeader> 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:
getCorrelationHeadersin interfaceCorrelatedMetadataElement- Returns:
- list of correlation properties objects
-
setCorrelationHeaders
public void setCorrelationHeaders(List<org.odpi.openmetadata.frameworks.governanceaction.properties.MetadataCorrelationHeader> correlationHeaders) 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:
setCorrelationHeadersin interfaceCorrelatedMetadataElement- Parameters:
correlationHeaders- list of correlation properties objects
-
getProperties
public org.odpi.openmetadata.frameworks.openmetadata.properties.externalreferences.ExternalReferenceProperties getProperties()Return the link to external documentation that are relevant to this element.- Returns:
- list of external references
-
setProperties
public void setProperties(org.odpi.openmetadata.frameworks.openmetadata.properties.externalreferences.ExternalReferenceProperties properties) 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
-