Class TagUpdateRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetconsumer.rest.TagUpdateRequestBody
-
- All Implemented Interfaces:
Serializable
public class TagUpdateRequestBody extends Object implements Serializable
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.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TagUpdateRequestBody()Default constructorTagUpdateRequestBody(TagUpdateRequestBody 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 tag description null means no description is available.inthashCode()Return hash code for this objectvoidsetDescription(String tagDescription)Set up the tag description null means no description is available.StringtoString()Standard toString method.
-
-
-
Constructor Detail
-
TagUpdateRequestBody
public TagUpdateRequestBody()
Default constructor
-
TagUpdateRequestBody
public TagUpdateRequestBody(TagUpdateRequestBody template)
Copy/clone constructor.- Parameters:
template- element to copy
-
-
Method Detail
-
getDescription
public String getDescription()
Return the tag description null means no description is available.- Returns:
- String tag description
-
setDescription
public void setDescription(String tagDescription)
Set up the tag description null means no description is available.- Parameters:
tagDescription- tag description
-
toString
public String toString()
Standard toString method.
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
-
-