Class InformalTagUpdateRequestBody
java.lang.Object
org.odpi.openmetadata.viewservices.feedbackmanager.rest.EffectiveTimeQueryRequestBody
org.odpi.openmetadata.viewservices.feedbackmanager.rest.InformalTagUpdateRequestBody
InformalTagProperties stores information about a tag connected to an asset.
InformalTags provide informal classifications to assets
and can be added at any time.
InformalTags have the userId of the person who added the tag, the name of the tag and its description.
The content of the tag is a personal judgement (which is why the user's id is in the tag)
and there is no formal review of the tags. However, they can be used as a basis for crowd-sourcing
Glossary terms.
Private InformalTags are only returned to the user that created them.
-
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 tag description null means no description is available.int
hashCode()
Return hash code for this objectvoid
setDescription
(String tagDescription) Set up the tag description null means no description is available.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.viewservices.feedbackmanager.rest.EffectiveTimeQueryRequestBody
getEffectiveTime, setEffectiveTime
-
Constructor Details
-
InformalTagUpdateRequestBody
public InformalTagUpdateRequestBody()Default constructor -
InformalTagUpdateRequestBody
Copy/clone constructor.- Parameters:
template
- element to copy
-
-
Method Details
-
getDescription
Return the tag description null means no description is available.- Returns:
- String tag description
-
setDescription
Set up the tag description null means no description is available.- Parameters:
tagDescription
- tag description
-
toString
Standard toString method.- Overrides:
toString
in classEffectiveTimeQueryRequestBody
- 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 classEffectiveTimeQueryRequestBody
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classEffectiveTimeQueryRequestBody
- Returns:
- int hash code
-