Class GlossaryTermCategorization
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetmanager.properties.RelationshipProperties
-
- org.odpi.openmetadata.accessservices.assetmanager.properties.GlossaryTermCategorization
-
- All Implemented Interfaces:
Serializable
public class GlossaryTermCategorization extends RelationshipProperties
GlossaryTermCategorization describes a type of relationship between a glossary term and a glossary category in a glossary.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GlossaryTermCategorization()Default constructorGlossaryTermCategorization(GlossaryTermCategorization 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 categorization.GlossaryTermRelationshipStatusgetStatus()Returns whether this relationship should be used.inthashCode()Return has code based on properties.voidsetDescription(String description)Set up description of the categorization.voidsetStatus(GlossaryTermRelationshipStatus status)Set up whether this relationship should be used.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
-
-
-
Constructor Detail
-
GlossaryTermCategorization
public GlossaryTermCategorization()
Default constructor
-
GlossaryTermCategorization
public GlossaryTermCategorization(GlossaryTermCategorization template)
Copy/clone constructor.- Parameters:
template- template object to copy.
-
-
Method Detail
-
setDescription
public void setDescription(String description)
Set up description of the categorization.- Parameters:
description- String
-
getDescription
public String getDescription()
Return the description for the categorization.- Returns:
- String description
-
setStatus
public void setStatus(GlossaryTermRelationshipStatus status)
Set up whether this relationship should be used.- Parameters:
status- status enum (draft, active, deprecated, obsolete, other)
-
getStatus
public GlossaryTermRelationshipStatus getStatus()
Returns whether this relationship should be used.- Returns:
- status enum (draft, active, deprecated, obsolete, other)
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classRelationshipProperties- Returns:
- print out of variables in a JSON-style
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classRelationshipProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Return has code based on properties.- Overrides:
hashCodein classRelationshipProperties- Returns:
- int
-
-