Class ExternalReferenceElement
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ExternalReferenceElement
- All Implemented Interfaces:
MetadataElement
ExternalReferenceElement stores information about a 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 element header associated with the properties.Return the link to external documentation that are relevant to this element.int
hashCode()
Hash of propertiesvoid
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 interfaceMetadataElement
- Returns:
- element header object
-
setElementHeader
Set up the element header associated with the properties.- Specified by:
setElementHeader
in interfaceMetadataElement
- Parameters:
elementHeader
- element header object
-
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
-