public class Tag extends UserFeedbackHeader
| Constructor and Description |
|---|
Tag()
Default constructor
|
Tag(Tag template)
Copy/clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Equals method that returns true if containing properties are the same.
|
String |
getDescription()
Return the description of the tag.
|
boolean |
getIsPrivate()
Return whether the tag is private or not.
|
String |
getName()
Return the name of the tag.
|
int |
hashCode()
Hash code for this object
|
void |
setDescription(String description)
Set up the description of the tag.
|
void |
setIsPrivate(boolean privateTag)
Set whether the tag is private or not.
|
void |
setName(String name)
Set up the name of the tag.
|
String |
toString()
JSON-style toString.
|
getUserId, setUserIdgetGUID, setGUIDgetOriginId, getOriginLicense, getOriginName, getOriginType, getTypeDescription, getTypeName, setOriginId, setOriginLicense, setOriginName, setOriginType, setTypeDescription, setTypeNamepublic Tag()
public Tag(Tag template)
template - object to copypublic String getName()
public void setName(String name)
name - tag namepublic String getDescription()
public void setDescription(String description)
description - tag descriptionpublic boolean getIsPrivate()
public void setIsPrivate(boolean privateTag)
privateTag - private tag indicatorpublic String toString()
toString in class UserFeedbackHeaderpublic boolean equals(Object objectToCompare)
equals in class UserFeedbackHeaderobjectToCompare - object to comparepublic int hashCode()
hashCode in class UserFeedbackHeaderCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.