org.wso2.registry
Class TaggedResourcePath

java.lang.Object
  extended by org.wso2.registry.TaggedResourcePath

public class TaggedResourcePath
extends java.lang.Object

Contains a resource path and tagging details of tags on that resource. Instances of this class is returned from the tag searches. Tag searches may be performed on multiple tags. This class only contains the tag counts for the tags that included in the search. e.g. If the search is for tags java, jsp and programming and if the resource /books/computer/Java Web Development matches the search, counts are only contained for the tags java, jsp and programming although that resource may have many other tags like internet, web, servlets.


Constructor Summary
TaggedResourcePath()
           
 
Method Summary
 void addTagCount(java.lang.String tag, long count)
           
 java.lang.String getResourcePath()
           
 long getTagCount()
           
 java.util.Map getTagCounts()
           
 void setResourcePath(java.lang.String resourcePath)
           
 void setTagCount(long tagCount)
           
 void setTagCounts(java.util.Map tagCounts)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaggedResourcePath

public TaggedResourcePath()
Method Detail

getResourcePath

public java.lang.String getResourcePath()

setResourcePath

public void setResourcePath(java.lang.String resourcePath)

getTagCount

public long getTagCount()

setTagCount

public void setTagCount(long tagCount)

getTagCounts

public java.util.Map getTagCounts()

setTagCounts

public void setTagCounts(java.util.Map tagCounts)

addTagCount

public void addTagCount(java.lang.String tag,
                        long count)


Copyright © 2007 Apache Web Services Project. All Rights Reserved.