org.wso2.carbon.registry.core
Class Tag

java.lang.Object
  extended by org.wso2.carbon.registry.api.Tag
      extended by org.wso2.carbon.registry.core.Tag

public class Tag
extends 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
 
Fields inherited from class org.wso2.carbon.registry.api.Tag
tagCount, tagName
 
Constructor Summary
Tag()
           
 
Method Summary
 int getCategory()
          Get the category.
 void setCategory(int category)
          Set the category.
 void setTagCount(long tagCount)
          Set the tag count.
 
Methods inherited from class org.wso2.carbon.registry.api.Tag
getTagCount, getTagName, setTagName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tag

public Tag()
Method Detail

setTagCount

public void setTagCount(long tagCount)
Set the tag count.

Overrides:
setTagCount in class Tag
Parameters:
tagCount - the tag count.

getCategory

public int getCategory()
Get the category.

Returns:
the tag category.

setCategory

public void setCategory(int category)
Set the category.

Parameters:
category - the category.


Copyright © 2011 WSO2 Inc. All Rights Reserved.