Class MeaningProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetowner.properties.ReferenceableProperties
-
- org.odpi.openmetadata.accessservices.assetowner.properties.MeaningProperties
-
- All Implemented Interfaces:
Serializable
public class MeaningProperties extends ReferenceableProperties
MeaningProperties is a cut-down summary of a glossary term to aid the asset consumer in understanding the content of an asset.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MeaningProperties()Default constructorMeaningProperties(MeaningProperties template)Copy/clone constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.StringgetDescription()Return the description of the glossary term.StringgetName()Return the glossary term name.inthashCode()Create a hash code for this element type.voidsetDescription(String description)Set up the description of the glossary term.voidsetName(String name)Set up the glossary term name.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.accessservices.assetowner.properties.ReferenceableProperties
getAdditionalProperties, getExtendedProperties, getQualifiedName, getTypeName, setAdditionalProperties, setExtendedProperties, setQualifiedName, setTypeName
-
-
-
-
Constructor Detail
-
MeaningProperties
public MeaningProperties()
Default constructor
-
MeaningProperties
public MeaningProperties(MeaningProperties template)
Copy/clone constructor.- Parameters:
template- element to copy
-
-
Method Detail
-
getName
public String getName()
Return the glossary term name.- Returns:
- String name
-
setName
public void setName(String name)
Set up the glossary term name.- Parameters:
name- String name
-
getDescription
public String getDescription()
Return the description of the glossary term.- Returns:
- String description
-
setDescription
public void setDescription(String description)
Set up the description of the glossary term.- Parameters:
description- String description
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classReferenceableProperties- Returns:
- print out of variables in a JSON-style
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classReferenceableProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Create a hash code for this element type.- Overrides:
hashCodein classReferenceableProperties- Returns:
- int hash code
-
-