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
ConstructorsConstructorDescriptionDefault constructor used by subclassesMetadataElementSummary(MetadataElementSummary template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare 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.inthashCode()Create a hash code for this element type.voidsetElementHeader(ElementHeader elementHeader) Set up the element header associated with the properties.voidsetProperties(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:
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
-
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.
-