net.firstpartners.rp.plugins
Interface ICategory

All Known Implementing Classes:
BasicCategory

public interface ICategory

A Category is a set of Data. Many Categories make up a knowledgebase.

Author:
brownpa

Method Summary
 double getCalculatedScore()
          Get the calculated score of the category
 java.lang.String getCategoryName()
          Get the name of this Category
 double getCategoryScore()
          Get the category scroe
 IDataExtractor getDataSource()
          Get a Handle to the Datasource used when creating this Category
ie where we got the original data from
 java.lang.String getLastUpdate()
          Get the date of the last update for the category
 java.lang.String getLocation()
          Get the location of the information
 java.lang.String getOriginalLocation()
          Get the category location
 

Method Detail

getOriginalLocation

java.lang.String getOriginalLocation()
Get the category location

Returns:
Original location of the category

getCategoryName

java.lang.String getCategoryName()
Get the name of this Category

Returns:
Name of this category

getDataSource

IDataExtractor getDataSource()
Get a Handle to the Datasource used when creating this Category
ie where we got the original data from

Returns:
IDataExtractor

getLocation

java.lang.String getLocation()
Get the location of the information

Returns:
Uri of the information

getCategoryScore

double getCategoryScore()
Get the category scroe

Returns:
The category score

getCalculatedScore

double getCalculatedScore()
Get the calculated score of the category

Returns:
The calculated score

getLastUpdate

java.lang.String getLastUpdate()
Get the date of the last update for the category

Returns:
The last update