Class GlossaryTermProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.glossaries.GlossaryTermProperties
GlossaryTermProperties contains the semantic definition (meaning) of a word or phrase
(term - collectively called terminology).
-
Constructor Summary
ConstructorDescriptionDefault constructorGlossaryTermProperties
(GlossaryTermProperties template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the abbreviation used for this term.Returns the stored description property for the term.Returns the stored display name property for the term.Set up the description of one or more examples.Return the author-controlled version identifier.Return the short (1-2 sentence) description of the term.getUsage()
Return details of the expected usage of this term.int
hashCode()
Return hash code for this objectvoid
setAbbreviation
(String abbreviation) Set up the abbreviation used for this term.void
setDescription
(String description) Set up the stored description property for the term.void
setDisplayName
(String displayName) Set up the stored display name property for the term.void
setExamples
(String examples) Return the description of one or more examples.void
setPublishVersionIdentifier
(String publishVersionIdentifier) Set up the author-controlled version identifier.void
setSummary
(String summary) Set up the short (1-2 sentence) description of the term.void
Set up details of the expected usage of this term.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
getAdditionalProperties, getQualifiedName, getVendorProperties, setAdditionalProperties, setQualifiedName, setVendorProperties
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, getTypeName, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setTypeName
-
Constructor Details
-
GlossaryTermProperties
public GlossaryTermProperties()Default constructor -
GlossaryTermProperties
Copy/clone constructor.- Parameters:
template
- object to copy
-
-
Method Details
-
getDisplayName
Returns the stored display name property for the term. If no display name is available then null is returned.- Returns:
- String name
-
setDisplayName
Set up the stored display name property for the term.- Parameters:
displayName
- String name
-
getSummary
Return the short (1-2 sentence) description of the term.- Returns:
- string text
-
setSummary
Set up the short (1-2 sentence) description of the term.- Parameters:
summary
- string text
-
getDescription
Returns the stored description property for the term. If no description is provided then null is returned.- Returns:
- String text
-
setDescription
Set up the stored description property for the term.- Parameters:
description
- String text
-
getExamples
Set up the description of one or more examples.- Returns:
- string text
-
setExamples
Return the description of one or more examples.- Parameters:
examples
- string text
-
getAbbreviation
Return the abbreviation used for this term.- Returns:
- string text
-
setAbbreviation
Set up the abbreviation used for this term.- Parameters:
abbreviation
- string text
-
getUsage
Return details of the expected usage of this term.- Returns:
- string text
-
setUsage
Set up details of the expected usage of this term.- Parameters:
usage
- string text
-
getPublishVersionIdentifier
Return the author-controlled version identifier.- Returns:
- version identifier
-
setPublishVersionIdentifier
Set up the author-controlled version identifier.- Parameters:
publishVersionIdentifier
- version identifier
-
toString
JSON-style toString- Overrides:
toString
in classReferenceableProperties
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classReferenceableProperties
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classReferenceableProperties
- Returns:
- int hash code
-