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
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare 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.inthashCode()Return hash code based on properties.voidsetDescription(String description) Set up description of the context.voidSet 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:
toStringin 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:
equalsin classClassificationProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classClassificationProperties- Returns:
- int
-