net.firstpartners.rp.mid.feedback
Class CategoryFeedback

java.lang.Object
  extended by net.firstpartners.rp.mid.feedback.BaseFeedback
      extended by net.firstpartners.rp.mid.feedback.CategoryFeedback
All Implemented Interfaces:
IFeedback

public class CategoryFeedback
extends BaseFeedback

Category feedback class A category feedback will contain all the information necessarily to rebuild the entire index information (score,categoryname and category location)

Version:
1.6
Author:
Firstpartners.net

Field Summary
(package private)  java.lang.String categoryLocation
          Feedback category location
(package private)  java.lang.String categoryName
          Feedback category name
 
Fields inherited from class net.firstpartners.rp.mid.feedback.BaseFeedback
CATEGORY_LOCATION, CATEGORY_NAME, DESCRIPTION, ID, SCORE, SEARCH_TERM, TYPE_CATEGORY_FEEDBACK, TYPE_DOCUMENT_FEEDBACK, TYPE_SEARCH_FEEDBACK
 
Constructor Summary
CategoryFeedback(int score, java.lang.String name, java.lang.String location)
          Creates a new CategoryFeedback object.
 
Method Summary
 java.lang.String getCategoryLocation()
           
 java.lang.String getCategoryName()
           
 void setCategoryLocation(java.lang.String categoryLocation)
           
 void setCategoryName(java.lang.String categoryName)
           
 
Methods inherited from class net.firstpartners.rp.mid.feedback.BaseFeedback
getDate, getScore, getType, setDate, setScore, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

categoryName

java.lang.String categoryName
Feedback category name


categoryLocation

java.lang.String categoryLocation
Feedback category location

Constructor Detail

CategoryFeedback

public CategoryFeedback(int score,
                        java.lang.String name,
                        java.lang.String location)
Creates a new CategoryFeedback object.

Parameters:
score - The document score
name - The category name
location - The category location
Method Detail

getCategoryLocation

public java.lang.String getCategoryLocation()
Returns:
Returns the categoryLocation.

setCategoryLocation

public void setCategoryLocation(java.lang.String categoryLocation)
Parameters:
categoryLocation - The categoryLocation to set.

getCategoryName

public java.lang.String getCategoryName()
Returns:
Returns the categoryName.

setCategoryName

public void setCategoryName(java.lang.String categoryName)
Parameters:
categoryName - The categoryName to set.