Class AttributedMetadataElement
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.AttributedMetadataElement
- All Implemented Interfaces:
MetadataElement
- Direct Known Subclasses:
ActorProfileElement
,ActorRoleElement
,CollectionElement
,DataDefinitionElement
,GlossaryCategoryElement
,GlossaryElement
,GlossaryTermElement
,InformationSupplyChainElement
,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 attached external identifiers.Return the attached comments.Return the attached search keywords.Return the list of likes for this element.Return the attached reviews (ratings).Return the attached informal tags.Return the element header associated with the properties.Return the list of external references for this element.Return the list of collections that is definition is a member of.Return the mermaid representation of this data structure.Return details of other related elements retrieved from the repository.Return details of the relationship used to retrieve this element.Return the glossary terms linked by semantic assignment.int
hashCode()
Create a hash code for this element type.void
setAlsoKnownAs
(List<RelatedMetadataElementSummary> alsoKnownAs) Set up attached external identifiers.void
setAttachedComments
(List<RelatedMetadataElementSummary> attachedComments) Set up the attached comments.void
setAttachedKeywords
(List<RelatedMetadataElementSummary> attachedKeywords) Set up the attached search keywords.void
setAttachedLikes
(List<RelatedMetadataElementSummary> attachedLikes) Set up the list of likes for this element.void
setAttachedReviews
(List<RelatedMetadataElementSummary> attachedReviews) Set up the attached reviews (ratings).void
setAttachedTags
(List<RelatedMetadataElementSummary> attachedTags) Set up the attached informal tags.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
setMemberOfCollections
(List<RelatedMetadataElementSummary> memberOfCollections) Set up the list of collections that is definition is a member of.void
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.void
setRelatedBy
(RelatedBy relatedBy) Set up details of the relationship used to retrieve this element.void
setSemanticAssignments
(List<RelatedMetadataElementSummary> semanticAssignments) Set up the glossary terms linked by semantic assignment.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
- list
-
getExternalReferences
Return the list of external references for this element.- Returns:
- list
-
getMemberOfCollections
Return the list of collections that is definition is a member of.- Returns:
- list
-
setMemberOfCollections
Set up the list of collections that is definition is a member of.- Parameters:
memberOfCollections
- list
-
getAlsoKnownAs
Return attached external identifiers.- Returns:
- list
-
setAlsoKnownAs
Set up attached external identifiers.- Parameters:
alsoKnownAs
- list
-
getSemanticAssignments
Return the glossary terms linked by semantic assignment.- Returns:
- list
-
setSemanticAssignments
Set up the glossary terms linked by semantic assignment.- Parameters:
semanticAssignments
- list
-
getAttachedLikes
Return the list of likes for this element.- Returns:
- list
-
setAttachedLikes
Set up the list of likes for this element.- Parameters:
attachedLikes
- list
-
getAttachedTags
Return the attached informal tags.- Returns:
- list
-
setAttachedTags
Set up the attached informal tags.- Parameters:
attachedTags
- list
-
getAttachedKeywords
Return the attached search keywords.- Returns:
- list
-
setAttachedKeywords
Set up the attached search keywords.- Parameters:
attachedKeywords
- list
-
getAttachedComments
Return the attached comments.- Returns:
- list
-
setAttachedComments
Set up the attached comments.- Parameters:
attachedComments
- list
-
getAttachedReviews
Return the attached reviews (ratings).- Returns:
- list
-
setAttachedReviews
Set up the attached reviews (ratings).- Parameters:
attachedReviews
- list
-
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
-
getRelatedBy
Return details of the relationship used to retrieve this element. Will be null if the element was retrieved directly rather than via a relationship.- Returns:
- list of element stubs
-
setRelatedBy
Set up details of the relationship used to retrieve this element. Will be null if the element was retrieved directly rather than via a relationship.- Parameters:
relatedBy
- relationship details
-
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.
-