Luigi Homepage

net.cw.luigi.search
Class SearchResult

java.lang.Object
  extended by net.cw.luigi.search.SearchResult

public class SearchResult
extends Object

TODO: Description of the Class

Version:
$Revision: 1.1 $
Author:
Tiago Silveira

Constructor Summary
SearchResult()
           
 
Method Summary
 Object get(String key)
          Gets an attribue given its name
 Map getAttributes()
          Gets the attributes attribute of the SearchResult object
 float getScore()
          Gets the score attribute of the SearchResult object
 void setAttributes(Map attributes)
          Sets the attributes attribute of the SearchResult object
 void setScore(float score)
          Sets the score attribute of the SearchResult object
 String toString()
          TODO: Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SearchResult

public SearchResult()
Method Detail

get

public Object get(String key)
Gets an attribue given its name

Parameters:
key - TODO: Description of the Parameter
Returns:
The attribute's value

getAttributes

public Map getAttributes()
Gets the attributes attribute of the SearchResult object

Returns:
The attributes value

getScore

public float getScore()
Gets the score attribute of the SearchResult object

Returns:
The score value

setAttributes

public void setAttributes(Map attributes)
Sets the attributes attribute of the SearchResult object

Parameters:
attributes - The new attributes

setScore

public void setScore(float score)
Sets the score attribute of the SearchResult object

Parameters:
score - The new score

toString

public String toString()
TODO: Description of the Method

Overrides:
toString in class Object
Returns:
TODO: Description of the Return Value

Luigi Homepage