org.wso2.carbon.registry.core
Class Tag

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

public class Tag
extends Object

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.


Constructor Summary
Tag()
           
 
Method Summary
 int getCategory()
          Get the category.
 long getTagCount()
          Get the tag count.
 String getTagName()
          Get the tag name.
 void setCategory(int category)
          Set the category.
 void setTagCount(long tagCount)
          Set the tag count.
 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
 

Constructor Detail

Tag

public Tag()
Method Detail

getTagName

public String getTagName()
Get the tag name.

Returns:
the tag name.

setTagName

public void setTagName(String tagName)
Set the tag name.

Parameters:
tagName - the tag name.

getTagCount

public long getTagCount()
Get the tag count.

Returns:
the tag count.

setTagCount

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

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 © 2010. All Rights Reserved.