Class Meaning
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.Meaning
-
- All Implemented Interfaces:
Serializable
public class Meaning extends ElementBase
Meaning 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
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringdescriptionprotected Stringname-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
extendedProperties, url
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION
-
-
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()Hash of propertiesvoidsetDescription(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.frameworks.connectors.properties.beans.ElementBase
getExtendedProperties, getURL, setExtendedProperties, setURL
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
getClassifications, getGUID, setClassifications, setGUID
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
getOrigin, getStatus, getType, getVersions, setOrigin, setStatus, setType, setVersions
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
getHeaderVersion, setHeaderVersion
-
-
-
-
Constructor Detail
-
Meaning
public Meaning()
Default constructor
-
Meaning
public Meaning(Meaning templateMeaning)
Copy/clone constructor.- Parameters:
templateMeaning- 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 classElementBase- 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 classElementBase- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Hash of properties- Overrides:
hashCodein classElementBase- Returns:
- int
-
-