Class AttributedMetadataElement
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.AttributedMetadataElement
- All Implemented Interfaces:
MetadataElement
- Direct Known Subclasses:
CollectionElement
,DataClassElement
,DataFieldElement
,DataStructureElement
,GlossaryCategoryElement
,GlossaryElement
,GlossaryTermElement
,ProjectElement
,ToDoElement
Description of an open metadata element (entity instance) retrieved from the open metadata repositories
that is expected to have external references and other elements attached.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor used by subclassesCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the element header associated with the properties.Return the list of external references for this element.Return the mermaid representation of this data structure.Return details of other related elements retrieved from the repository.int
hashCode()
Create a hash code for this element type.void
setElementHeader
(ElementHeader elementHeader) Set up the element header associated with the properties.void
setExternalReferences
(List<RelatedMetadataElementSummary> externalReferences) Set up the list of external references for this elementvoid
setMermaidGraph
(String mermaidGraph) Set up the mermaid representation of this data structure.void
setOtherRelatedElements
(List<RelatedMetadataElementSummary> otherRelatedElements) Set up details of other related elements retrieved from the repository.toString()
Standard toString method.
-
Constructor Details
-
AttributedMetadataElement
public AttributedMetadataElement()Default constructor used by subclasses -
AttributedMetadataElement
Copy/clone constructor- Parameters:
template
- template to copy
-
-
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
-
setExternalReferences
Set up the list of external references for this element- Parameters:
externalReferences
- properties for the classification
-
getExternalReferences
Return the list of external references for this element.- Returns:
- properties map
-
getOtherRelatedElements
Return details of other related elements retrieved from the repository.- Returns:
- list
-
setOtherRelatedElements
Set up details of other related elements retrieved from the repository.- Parameters:
otherRelatedElements
- list
-
getMermaidGraph
Return the mermaid representation of this data structure.- Returns:
- string markdown
-
setMermaidGraph
Set up the mermaid representation of this data structure.- Parameters:
mermaidGraph
- markdown string
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Create a hash code for this element type.
-