net.firstpartners.rp.mid.feedback
Class DocumentFeedback

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

public class DocumentFeedback
extends BaseFeedback

Document feedback class A document feedback will contain all the information necessarily to rebuild the entire index information (score,id, categoryname and description)

Version:
1.6
Author:
Firstpartners.net

Field Summary
(package private)  java.lang.String categoryName
          Feedback category name
(package private)  java.lang.String documentID
          Feedback document id
(package private)  java.lang.String summary
          Feedback document summary
 
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
DocumentFeedback(int score, java.lang.String id, java.lang.String categname, java.lang.String summary)
          Creates a new DocumentFeedback object.
 
Method Summary
 java.lang.String getCategoryName()
           
 java.lang.String getDocumentID()
           
 java.lang.String getSummary()
           
 void setCategoryName(java.lang.String categoryName)
           
 void setDocumentID(java.lang.String documentID)
           
 void setSummary(java.lang.String summary)
           
 
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

documentID

java.lang.String documentID
Feedback document id


categoryName

java.lang.String categoryName
Feedback category name


summary

java.lang.String summary
Feedback document summary

Constructor Detail

DocumentFeedback

public DocumentFeedback(int score,
                        java.lang.String id,
                        java.lang.String categname,
                        java.lang.String summary)
Creates a new DocumentFeedback object.

Parameters:
score - Document score
id - Document id
categname - Category name
description - Document description
Method Detail

getCategoryName

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

setCategoryName

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

getDocumentID

public java.lang.String getDocumentID()
Returns:
Returns the documentID.

setDocumentID

public void setDocumentID(java.lang.String documentID)
Parameters:
documentID - The documentID to set.

getSummary

public java.lang.String getSummary()
Returns:
Returns the summary.

setSummary

public void setSummary(java.lang.String summary)
Parameters:
summary - The summary to set.