Class RefDataElementBase
java.lang.Object
org.odpi.openmetadata.viewservices.automatedcuration.properties.RefDataElementBase
- Direct Known Subclasses:
CatalogTemplate,ResourceDescription
RefDataElementBase provides the base class for an element that is defined using metadata.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorRefDataElementBase(RefDataElementBase template) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionReturn a copy of the additional properties.Returns the description property for the element.Returns the display name property for the element.Return the element header associated with the technology type.Return the specification reference data for the attached element.Return the mermaid graph of a linked specification if there is one.voidsetAdditionalProperties(Map<String, String> additionalProperties) Set up additional properties.voidsetDescription(String description) Set up the description property associated with the element.voidsetDisplayName(String displayName) Set up the name property for the element.voidsetRelatedElement(MetadataElementSummary relatedElement) Set up the element header associated with the technology type.voidsetSpecification(Map<String, List<SpecificationProperty>> specification) Set up the specification reference data for the attached element.voidsetSpecificationMermaidGraph(String specificationMermaidGraph) Set up the mermaid graph of a linked specification if there is one.toString()Generate a string containing the properties.
-
Field Details
-
displayName
-
description
-
additionalProperties
-
-
Constructor Details
-
RefDataElementBase
public RefDataElementBase()Default constructor -
RefDataElementBase
Default constructor
-
-
Method Details
-
getDisplayName
Returns the display name property for the element. If no name is available then null is returned.- Returns:
- String name
-
setDisplayName
Set up the name property for the element.- Parameters:
displayName- String name
-
getDescription
Returns the description property for the element. If no description is provided then null is returned.- Returns:
- description String text
-
setDescription
Set up the description property associated with the element.- Parameters:
description- String text
-
getAdditionalProperties
Return a copy of the additional properties. Null means no additional properties are available.- Returns:
- AdditionalProperties
-
setAdditionalProperties
Set up additional properties.- Parameters:
additionalProperties- Additional properties object
-
getSpecification
Return the specification reference data for the attached element.- Returns:
- specification (attributeName, list[propertyName, propertyValue])
-
setSpecification
Set up the specification reference data for the attached element.- Parameters:
specification- specification
-
getSpecificationMermaidGraph
Return the mermaid graph of a linked specification if there is one.- Returns:
- mermaid markdown
-
setSpecificationMermaidGraph
Set up the mermaid graph of a linked specification if there is one.- Parameters:
specificationMermaidGraph- mermaid markdown
-
getRelatedElement
Return the element header associated with the technology type.- Returns:
- element stub object
-
setRelatedElement
Set up the element header associated with the technology type.- Parameters:
relatedElement- element stub object
-
toString
Generate a string containing the properties.
-