Class TaxonomyProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.ClassificationProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.glossaries.TaxonomyProperties
TaxonomyProperties is used to classify a glossary that has the terms organized in a taxonomy.
This means each term is attached to one, and only one category and the categories are organized as a hierarchy
with a single root category.
Taxonomies are used as a way of organizing assets and other related metadata. The terms in the taxonomy are linked to the assets and as such they are logically categorized by the linked category.
Taxonomies are used as a way of organizing assets and other related metadata. The terms in the taxonomy are linked to the assets and as such they are logically categorized by the linked category.
-
Constructor Summary
ConstructorDescriptionDefault constructorTaxonomyProperties
(TaxonomyProperties template) Copy/clone constructor for a primary key. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the organizing principle used to create the taxonomy in the glossary.int
hashCode()
Return hash code based on properties.void
setOrganizingPrinciple
(String organizingPrinciple) Set up the organizing principle used to create the taxonomy in the glossary.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ClassificationProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
TaxonomyProperties
public TaxonomyProperties()Default constructor -
TaxonomyProperties
Copy/clone constructor for a primary key.- Parameters:
template
- template object to copy.
-
-
Method Details
-
getOrganizingPrinciple
Return the organizing principle used to create the taxonomy in the glossary.- Returns:
- string description
-
setOrganizingPrinciple
Set up the organizing principle used to create the taxonomy in the glossary.- Parameters:
organizingPrinciple
- string description
-
toString
Standard toString method.- Overrides:
toString
in 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:
equals
in classClassificationProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classClassificationProperties
- Returns:
- int
-