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
ConstructorsConstructorDescriptionDefault ConstructorCopy/clone Constructor - the resulting object. -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals 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.inthashCode()Hash of propertiesvoidsetElementHeader(ElementHeader elementHeader) Set up the element header associated with the properties.voidsetProperties(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:
getElementHeaderin interfaceMetadataElement- Returns:
- element header object
-
setElementHeader
Set up the element header associated with the properties.- Specified by:
setElementHeaderin 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
-