|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.wso2.carbon.registry.api.Tag
public class Tag
Represents a tag and its meta-data. Instances of this class is returned from the Registry interface, when tags for a given resource path is queried.
| Field Summary | |
|---|---|
protected long |
tagCount
Number of taggings done using this tag. |
protected String |
tagName
Name of the tag. |
| Constructor Summary | |
|---|---|
Tag()
|
|
| Method Summary | |
|---|---|
long |
getTagCount()
Get the tag count. |
String |
getTagName()
Get the tag name. |
void |
setTagCount(long tagCount)
Set the the number of times the same tag has been used. |
void |
setTagName(String tagName)
Set the tag name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String tagName
protected long tagCount
| Constructor Detail |
|---|
public Tag()
| Method Detail |
|---|
public String getTagName()
public void setTagName(String tagName)
tagName - the tag name.public void setTagCount(long tagCount)
tagCount - the number of times the same tag has been used.public long getTagCount()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||