Class CanonicalVocabularyProperties
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.properties.ClassificationProperties
org.odpi.openmetadata.accessservices.assetmanager.properties.CanonicalVocabularyProperties
CanonicalVocabularyProperties is used to classify a glossary that has no term definitions with
the same name. This means there is only one definition for each term. Typically, the terms are also of a similar
level of granularity and are limited to a specific scope of use.
Canonical vocabularies are typically used to semantically classify assets in an unambiguous way.
Canonical vocabularies are typically used to semantically classify assets in an unambiguous way.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/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.getScope()
Return the scope that the terms in the glossary covers.int
hashCode()
Return hash code based on properties.void
Set up the scope that the terms in the glossary covers.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.properties.ClassificationProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
CanonicalVocabularyProperties
public CanonicalVocabularyProperties()Default constructor -
CanonicalVocabularyProperties
Copy/clone constructor for a primary key.- Parameters:
template
- template object to copy.
-
-
Method Details
-
getScope
Return the scope that the terms in the glossary covers.- Returns:
- string description
-
setScope
Set up the scope that the terms in the glossary covers.- Parameters:
scope
- 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
-