Class GlossaryTerm
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.Referenceable
org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.properties.GlossaryTerm
public class GlossaryTerm
extends org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
GlossaryTerm contains detailed descriptions about the meaning of a word or phrase.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION -
Constructor Summary
ConstructorsConstructorDescriptionDefault ConstructorGlossaryTerm(GlossaryTerm template) Copy/clone Constructor - the resulting object. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.Return the abbreviation for this term (or null).Return the detailed description of the term's meaning.Return the display name for this term (normally a shortened form of the qualified name).Return example sentences that include this term.Return a short summary of the meaning of the term - used for summary lists of terms.getUsage()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.voidSet up instructions for how and when this term should be used.toString()JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
getAdditionalProperties, getQualifiedName, setAdditionalProperties, setQualifiedNameMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
getExtendedProperties, setExtendedPropertiesMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
getClassifications, getGUID, setClassifications, setGUIDMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
getOrigin, getStatus, getType, getVersions, setOrigin, setStatus, setType, setVersionsMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
getHeaderVersion, setHeaderVersion
-
Constructor Details
-
GlossaryTerm
public GlossaryTerm()Default Constructor -
GlossaryTerm
Copy/clone Constructor - the resulting object.- Parameters:
template- object being copied
-
-
Method Details
-
getDisplayName
Return the display name for this term (normally a shortened form of the qualified name).- Returns:
- string name
-
setDisplayName
Set up the display name for this term (normally a shortened form of the qualified name).- Parameters:
displayName- string name
-
getSummary
Return a short summary of the meaning of the term - used for summary lists of terms.- Returns:
- string description
-
setSummary
Set up a short summary of the meaning of the term - used for summary lists of terms.- Parameters:
summary- string description
-
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
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
Return example sentences that include this term.- Returns:
- string examples
-
setExamples
Set up example sentences that include this term.- Parameters:
examples- string examples
-
getAbbreviation
Return the abbreviation for this term (or null).- Returns:
- string abbreviation
-
setAbbreviation
Set up the abbreviation for this term (or null).- Parameters:
abbreviation- string abbreviation
-
getUsage
Return instructions for how and when this term should be used.- Returns:
- string usage instructions
-
setUsage
Set up instructions for how and when this term should be used.- Parameters:
usage- string usage instructions
-
toString
JSON-style toString- Overrides:
toStringin classorg.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equalsin classorg.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classorg.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable- Returns:
- int hash code
-