org.activemath.webapp.dict.queries
Class SearchHit

java.lang.Object
  extended by org.activemath.webapp.dict.queries.SearchHit

public class SearchHit
extends Object

Simple bean class to denote a search-result to be presented.


Constructor Summary
SearchHit(MBaseID id, float score, int indexDocNum)
           
 
Method Summary
 boolean canBePresentedAsItem(String type)
           
 Object clone()
           
 Iterator getAntiScoreIt(int scale)
           
 int getDocNum()
           
 MBaseID getId()
           
 float getScore()
           
 Iterator getScoreIt(int scale)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchHit

public SearchHit(MBaseID id,
                 float score,
                 int indexDocNum)
Method Detail

getId

public MBaseID getId()

getScore

public float getScore()

canBePresentedAsItem

public boolean canBePresentedAsItem(String type)

getScoreIt

public Iterator getScoreIt(int scale)

getAntiScoreIt

public Iterator getAntiScoreIt(int scale)

getDocNum

public int getDocNum()

clone

public Object clone()
Overrides:
clone in class Object