public class InformalTag extends ElementHeader
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected boolean |
isPrivateTag |
protected boolean |
isPublic |
protected String |
name |
protected String |
user |
classifications, extendedProperties, guid, type, urlCURRENT_AUDIT_HEADER_VERSION| Constructor and Description |
|---|
InformalTag()
Default constructor
|
InformalTag(InformalTag template)
Copy/clone constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
|
String |
getDescription()
Return the tag description null means no description is available.
|
boolean |
getIsPrivateTag()
Return boolean flag to say whether the tag is private or not.
|
boolean |
getIsPublic()
Return if the link to the tag is private to the creating user.
|
String |
getName()
Return the name of the tag.
|
String |
getUser()
Return the user id of the person who created the tag.
|
int |
hashCode()
Hash of properties
|
void |
setDescription(String tagDescription)
Set up the tag description null means no description is available.
|
void |
setIsPrivateTag(boolean privateTag)
Set up boolean flag to say whether the tag is private or not.
|
void |
setIsPublic(boolean aPublic)
Set up whether the link to the tag is private to the creating user or not.
|
void |
setName(String name)
Set up the name of the tag.
|
void |
setUser(String user)
Set up the user id of the person who created the tag.
|
String |
toString()
Standard toString method.
|
getClassifications, getExtendedProperties, getGUID, getType, getURL, setClassifications, setExtendedProperties, setGUID, setType, setURLgetHeaderVersion, setHeaderVersionprotected boolean isPublic
protected boolean isPrivateTag
protected String name
protected String description
protected String user
public InformalTag()
public InformalTag(InformalTag template)
template - element to copypublic boolean getIsPublic()
public void setIsPublic(boolean aPublic)
aPublic - booleanpublic boolean getIsPrivateTag()
public void setIsPrivateTag(boolean privateTag)
privateTag - indicator of a private tagpublic String getUser()
public void setUser(String user)
user - String identifier of the creator of the tag.public String getName()
public void setName(String name)
name - String tag namepublic String getDescription()
public void setDescription(String tagDescription)
tagDescription - tag descriptionpublic String toString()
toString in class ElementHeaderpublic boolean equals(Object objectToCompare)
equals in class ElementHeaderobjectToCompare - supplied objectpublic int hashCode()
hashCode in class ElementHeaderCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.