Class GlossaryTermContextDefinition
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.properties.GlossaryTermContextDefinition
- All Implemented Interfaces:
Serializable
GlossaryTermContextDefinition describes a type of context that a glossary term represents.
- See Also:
-
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.
-
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. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Return hash code based on properties.
-