Class GlossaryTermContextDefinition
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetmanager.properties.GlossaryTermContextDefinition
-
- All Implemented Interfaces:
Serializable
public class GlossaryTermContextDefinition extends Object implements Serializable
GlossaryTermContextDefinition describes a type of context that a glossary term represents.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GlossaryTermContextDefinition()Default constructorGlossaryTermContextDefinition(GlossaryTermContextDefinition template)Copy/clone constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.StringgetDescription()Return the description for the context.StringgetScope()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.voidsetScope(String scope)Set up the scope of where the context applies.StringtoString()Standard toString method.
-
-
-
Constructor Detail
-
GlossaryTermContextDefinition
public GlossaryTermContextDefinition()
Default constructor
-
GlossaryTermContextDefinition
public GlossaryTermContextDefinition(GlossaryTermContextDefinition template)
Copy/clone constructor.- Parameters:
template- template object to copy.
-
-
Method Detail
-
setDescription
public void setDescription(String description)
Set up description of the context.- Parameters:
description- String
-
getDescription
public String getDescription()
Return the description for the context.- Returns:
- String description
-
setScope
public void setScope(String scope)
Set up the scope of where the context applies.- Parameters:
scope- string
-
getScope
public String getScope()
Returns the name of the scope of where the context applies.- Returns:
- string
-
toString
public String toString()
Standard toString method.
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
-
-