Class GlossaryTermCategorization
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.glossaries.GlossaryTermCategorization
GlossaryTermCategorization describes a type of relationship between a glossary term and a glossary category in a glossary.
-
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 categorization.Returns whether this relationship should be used.int
hashCode()
Return hash code based on properties.void
setDescription
(String description) Set up description of the categorization.void
Set up whether this relationship should be used.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
GlossaryTermCategorization
public GlossaryTermCategorization()Default constructor -
GlossaryTermCategorization
Copy/clone constructor.- Parameters:
template
- template object to copy.
-
-
Method Details
-
setDescription
Set up description of the categorization.- Parameters:
description
- String
-
getDescription
Return the description for the categorization.- Returns:
- String description
-
setStatus
Set up whether this relationship should be used.- Parameters:
status
- status enum (draft, active, deprecated, obsolete, other)
-
getStatus
Returns whether this relationship should be used.- Returns:
- status enum (draft, active, deprecated, obsolete, other)
-
toString
Standard toString method.- Overrides:
toString
in classRelationshipProperties
- 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 classRelationshipProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classRelationshipProperties
- Returns:
- int
-