|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.pebble.search.SearchHit
public class SearchHit
A container for the results of a search (a search hit).
Constructor Summary | |
---|---|
SearchHit(Blog blog,
java.lang.String id,
java.lang.String permalink,
java.lang.String title,
java.lang.String excerpt,
java.util.Date date,
float score)
Creates a new instance with the specified message. |
Method Summary | |
---|---|
Blog |
getBlog()
Gets the blog for the matching blog entry. |
java.util.Date |
getDate()
Gets the date of the matching blog entry. |
java.lang.String |
getExcerpt()
Gets the excerpt for the matching blog entry. |
java.lang.String |
getId()
Gets the id for the matching blog entry. |
int |
getNumber()
Gets the number of this result. |
java.lang.String |
getPermalink()
Gets the permalink for the matching blog entry. |
float |
getScore()
Gets the score for the matching blog entry. |
java.lang.String |
getTitle()
Gets the title for the matching blog entry. |
void |
setNumber(int n)
Sets the number of this result. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SearchHit(Blog blog, java.lang.String id, java.lang.String permalink, java.lang.String title, java.lang.String excerpt, java.util.Date date, float score)
Method Detail |
---|
public Blog getBlog()
public java.lang.String getId()
public java.lang.String getPermalink()
public java.lang.String getTitle()
public java.lang.String getExcerpt()
public java.util.Date getDate()
public float getScore()
public int getNumber()
public void setNumber(int n)
n
- the number as an int
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |