Package org.wso2.carbon.registry.api
Class TaggedResourcePath
- java.lang.Object
-
- org.wso2.carbon.registry.api.TaggedResourcePath
-
public class TaggedResourcePath extends 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.
-
-
Field Summary
Fields Modifier and Type Field Description protected StringresourcePathResource path for which the tag counts are associated.protected List<Tag>tagsTags which are associated withresourcePath
-
Constructor Summary
Constructors Constructor Description TaggedResourcePath()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetResourcePath()Method to get the resource path.Tag[]getTags()Method to get the tag count.voidsetResourcePath(String resourcePath)Method to get the resource path.
-
-
-
Method Detail
-
getResourcePath
public String getResourcePath()
Method to get the resource path.- Returns:
- the resource path.
-
setResourcePath
public void setResourcePath(String resourcePath)
Method to get the resource path.- Parameters:
resourcePath- the resource path.
-
getTags
public Tag[] getTags()
Method to get the tag count.- Returns:
- the tag count.
-
-