Class GlossaryTermContextDefinition
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.ClassificationProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.glossaries.GlossaryTermContextDefinition
GlossaryTermContextDefinition describes a type of context that a glossary term represents.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the description for the context.getScope()
Returns the name of the scope of where the context applies.int
hashCode()
Return hash code based on properties.void
setDescription
(String description) Set up description of the context.void
Set up the scope of where the context applies.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ClassificationProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
GlossaryTermContextDefinition
public GlossaryTermContextDefinition()Default constructor -
GlossaryTermContextDefinition
Copy/clone constructor.- Parameters:
template
- template object to copy.
-
-
Method Details
-
setDescription
Set up description of the context.- Parameters:
description
- String
-
getDescription
Return the description for the context.- Returns:
- String description
-
setScope
Set up the scope of where the context applies.- Parameters:
scope
- string
-
getScope
Returns the name of the scope of where the context applies.- Returns:
- string
-
toString
Standard toString method.- Overrides:
toString
in classClassificationProperties
- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classClassificationProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classClassificationProperties
- Returns:
- int
-