Package net.anotheria.anodoc.query2
Class QueryResultEntry
- java.lang.Object
-
- net.anotheria.anodoc.query2.QueryResultEntry
-
- All Implemented Interfaces:
net.anotheria.util.sorter.IComparable
public class QueryResultEntry extends java.lang.Object implements net.anotheria.util.sorter.IComparableAn entry in a query result list.- Version:
- $Id: $Id
- Author:
- lrosenberg
-
-
Constructor Summary
Constructors Constructor Description QueryResultEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(net.anotheria.util.sorter.IComparable anotherObject, int method)MatchingInfogetInfo()Getter for the fieldinfo.DocumentgetMatchedDocument()Getter for the fieldmatchedDocument.PropertygetMatchedProperty()Getter for the fieldmatchedProperty.intgetRelevance()Getter for the fieldrelevance.voidsetInfo(MatchingInfo info)Setter for the fieldinfo.voidsetMatchedDocument(Document matchedDocument)Setter for the fieldmatchedDocument.voidsetMatchedProperty(Property matchedProperty)Setter for the fieldmatchedProperty.voidsetRelevance(int relevance)Setter for the fieldrelevance.java.lang.StringtoString()
-
-
-
Method Detail
-
getInfo
public MatchingInfo getInfo()
Getter for the field
info.- Returns:
- a
MatchingInfoobject.
-
setInfo
public void setInfo(MatchingInfo info)
Setter for the field
info.- Parameters:
info- aMatchingInfoobject.
-
getMatchedDocument
public Document getMatchedDocument()
Getter for the field
matchedDocument.- Returns:
- a
Documentobject.
-
setMatchedDocument
public void setMatchedDocument(Document matchedDocument)
Setter for the field
matchedDocument.- Parameters:
matchedDocument- aDocumentobject.
-
getMatchedProperty
public Property getMatchedProperty()
Getter for the field
matchedProperty.- Returns:
- a
Propertyobject.
-
setMatchedProperty
public void setMatchedProperty(Property matchedProperty)
Setter for the field
matchedProperty.- Parameters:
matchedProperty- aPropertyobject.
-
getRelevance
public int getRelevance()
Getter for the field
relevance.- Returns:
- a int.
-
setRelevance
public void setRelevance(int relevance)
Setter for the field
relevance.- Parameters:
relevance- a int.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
compareTo
public int compareTo(net.anotheria.util.sorter.IComparable anotherObject, int method)- Specified by:
compareToin interfacenet.anotheria.util.sorter.IComparable
-
-