Class MetadataElementSummary
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.MetadataElementSummary
- All Implemented Interfaces:
MetadataElement
Description of an open metadata element (entity instance) retrieved from the open metadata repositories.
-
Constructor Summary
ConstructorDescriptionDefault constructor used by subclassesMetadataElementSummary
(MetadataElementSummary template) Copy/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 a collection of the properties for the element.int
hashCode()
Create a hash code for this element type.void
setElementHeader
(ElementHeader elementHeader) Set up the element header associated with the properties.void
setProperties
(Map<String, String> properties) Set up the properties for the element.toString()
Standard toString method.
-
Constructor Details
-
MetadataElementSummary
public MetadataElementSummary()Default constructor used by subclasses -
MetadataElementSummary
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
-
setProperties
Set up the properties for the element. If no stored properties are present then null is returned.- Parameters:
properties
- properties for the classification
-
getProperties
Return a collection of the properties for the element. If no stored properties are present then null is returned.- Returns:
- properties map
-
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.
-