Class GlossaryTerm
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
-
- org.odpi.openmetadata.commonservices.ocf.metadatamanagement.properties.GlossaryTerm
-
- All Implemented Interfaces:
Serializable
public class GlossaryTerm extends Referenceable
GlossaryTerm contains detailed descriptions about the meaning of a word or phrase.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
additionalProperties, confidenceGovernanceClassification, confidentialityGovernanceClassification, criticalityGovernanceClassification, latestChange, latestChangeDetails, meanings, qualifiedName, retentionGovernanceClassification, searchKeywords, securityTags
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
classifications, extendedProperties, guid, type, url
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION
-
-
Constructor Summary
Constructors Constructor Description GlossaryTerm()Default ConstructorGlossaryTerm(GlossaryTerm template)Copy/clone Constructor - the resulting object.
-
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.StringgetAbbreviation()Return the abbreviation for this term (or null).StringgetDescription()Return the detailed description of the term's meaning.StringgetDisplayName()Return the display name for this term (normally a shortened form of the qualified name).StringgetExamples()Return example sentences that include this term.StringgetSummary()Return a short summary of the meaning of the term - used for summary lists of terms.StringgetUsage()Return instructions for how and when this term should be used.inthashCode()Return hash code for this objectvoidsetAbbreviation(String abbreviation)Set up the abbreviation for this term (or null).voidsetDescription(String description)Set up the detailed description of the term's meaning.voidsetDisplayName(String displayName)Set up the display name for this term (normally a shortened form of the qualified name).voidsetExamples(String examples)Set up example sentences that include this term.voidsetSummary(String summary)Set up a short summary of the meaning of the term - used for summary lists of terms.voidsetUsage(String usage)Set up instructions for how and when this term should be used.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
getAdditionalProperties, getConfidenceGovernanceClassification, getConfidentialityGovernanceClassification, getCriticalityGovernanceClassification, getLatestChange, getLatestChangeDetails, getMeanings, getQualifiedName, getRetentionGovernanceClassification, getSearchKeywords, getSecurityTags, setAdditionalProperties, setConfidenceGovernanceClassification, setConfidentialityGovernanceClassification, setCriticalityGovernanceClassification, setLatestChange, setLatestChangeDetails, setMeanings, setQualifiedName, setRetentionGovernanceClassification, setSearchKeywords, setSecurityTags
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
getClassifications, getExtendedProperties, getGUID, getType, getURL, setClassifications, setExtendedProperties, setGUID, setType, setURL
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
getHeaderVersion, setHeaderVersion
-
-
-
-
Constructor Detail
-
GlossaryTerm
public GlossaryTerm()
Default Constructor
-
GlossaryTerm
public GlossaryTerm(GlossaryTerm template)
Copy/clone Constructor - the resulting object.- Parameters:
template- object being copied
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
Return the display name for this term (normally a shortened form of the qualified name).- Returns:
- string name
-
setDisplayName
public void setDisplayName(String displayName)
Set up the display name for this term (normally a shortened form of the qualified name).- Parameters:
displayName- string name
-
getSummary
public String getSummary()
Return a short summary of the meaning of the term - used for summary lists of terms.- Returns:
- string description
-
setSummary
public void setSummary(String summary)
Set up a short summary of the meaning of the term - used for summary lists of terms.- Parameters:
summary- string description
-
getDescription
public String getDescription()
Return the detailed description of the term's meaning. This would be used where the term is the primary information being displayed.- Returns:
- string description
-
setDescription
public void setDescription(String description)
Set up the detailed description of the term's meaning. This would be used where the term is the primary information being displayed.- Parameters:
description- string description
-
getExamples
public String getExamples()
Return example sentences that include this term.- Returns:
- string examples
-
setExamples
public void setExamples(String examples)
Set up example sentences that include this term.- Parameters:
examples- string examples
-
getAbbreviation
public String getAbbreviation()
Return the abbreviation for this term (or null).- Returns:
- string abbreviation
-
setAbbreviation
public void setAbbreviation(String abbreviation)
Set up the abbreviation for this term (or null).- Parameters:
abbreviation- string abbreviation
-
getUsage
public String getUsage()
Return instructions for how and when this term should be used.- Returns:
- string usage instructions
-
setUsage
public void setUsage(String usage)
Set up instructions for how and when this term should be used.- Parameters:
usage- string usage instructions
-
toString
public String toString()
JSON-style toString- Overrides:
toStringin classReferenceable- Returns:
- return string containing the property names and values
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.- Overrides:
equalsin classReferenceable- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()
Return hash code for this object- Overrides:
hashCodein classReferenceable- Returns:
- int hash code
-
-