Class MeaningElement
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetconsumer.elements.MeaningElement
-
- All Implemented Interfaces:
Serializable,MetadataElement
public class MeaningElement extends Object implements MetadataElement, Serializable
MeaningElement contains the properties and header for a GlossaryTerm entity retrieved from the metadata repository.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MeaningElement()Default constructorMeaningElement(MeaningElement template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.ElementHeadergetElementHeader()Return the element header associated with the properties.MeaningPropertiesgetMeaningProperties()Return the properties for a meaning.inthashCode()Return hash code for this objectvoidsetElementHeader(ElementHeader elementHeader)Set up the element header associated with the properties.voidsetMeaningProperties(MeaningProperties meaningProperties)Set up the properties for a meaning.StringtoString()JSON-style toString
-
-
-
Constructor Detail
-
MeaningElement
public MeaningElement()
Default constructor
-
MeaningElement
public MeaningElement(MeaningElement template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getElementHeader
public ElementHeader getElementHeader()
Return the element header associated with the properties.- Specified by:
getElementHeaderin interfaceMetadataElement- Returns:
- element header object
-
setElementHeader
public void setElementHeader(ElementHeader elementHeader)
Set up the element header associated with the properties.- Specified by:
setElementHeaderin interfaceMetadataElement- Parameters:
elementHeader- element header object
-
getMeaningProperties
public MeaningProperties getMeaningProperties()
Return the properties for a meaning.- Returns:
- properties bean
-
setMeaningProperties
public void setMeaningProperties(MeaningProperties meaningProperties)
Set up the properties for a meaning.- Parameters:
meaningProperties- properties bean
-
toString
public String toString()
JSON-style toString
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.
-
-