Class SearchKeywordProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.EntityProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.feedback.SearchKeywordProperties
SearchKeywordProperties stores information about a search keyword tag connected to a referenceable.
Search keywords are typically anchored to an element so that they are included in the search scope for
the referenceable.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the optional keyword description.Return the name of the keyword.int
hashCode()
Return hash code for this objectvoid
setDescription
(String description) Set up the the optional keyword description.void
setKeyword
(String keyword) Set up the name of the keyword.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
getExtendedProperties, getTypeName, setExtendedProperties, setTypeName
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.EntityProperties
getEffectiveFrom, getEffectiveTo, setEffectiveFrom, setEffectiveTo
-
Constructor Details
-
SearchKeywordProperties
public SearchKeywordProperties()Default constructor -
SearchKeywordProperties
Copy/clone constructor.- Parameters:
template
- element to copy
-
-
Method Details
-
getKeyword
Return the name of the keyword.- Returns:
- String tag name
-
setKeyword
Set up the name of the keyword.- Parameters:
keyword
- String tag name
-
getDescription
Return the optional keyword description.- Returns:
- String tag description
-
setDescription
Set up the the optional keyword description.- Parameters:
description
- tag description
-
toString
Standard toString method.- Overrides:
toString
in classOpenMetadataRootProperties
- 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 classOpenMetadataRootProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classOpenMetadataRootProperties
- Returns:
- int hash code
-