Class QueryResultEntry

  • All Implemented Interfaces:
    net.anotheria.util.sorter.IComparable

    public class QueryResultEntry
    extends java.lang.Object
    implements net.anotheria.util.sorter.IComparable
    An entry in a query result list.
    Version:
    $Id: $Id
    Author:
    lrosenberg
    • Constructor Detail

      • QueryResultEntry

        public QueryResultEntry()
    • Method Detail

      • setInfo

        public void setInfo​(MatchingInfo info)

        Setter for the field info.

        Parameters:
        info - a MatchingInfo object.
      • getMatchedDocument

        public Document getMatchedDocument()

        Getter for the field matchedDocument.

        Returns:
        a Document object.
      • setMatchedDocument

        public void setMatchedDocument​(Document matchedDocument)

        Setter for the field matchedDocument.

        Parameters:
        matchedDocument - a Document object.
      • getMatchedProperty

        public Property getMatchedProperty()

        Getter for the field matchedProperty.

        Returns:
        a Property object.
      • setMatchedProperty

        public void setMatchedProperty​(Property matchedProperty)

        Setter for the field matchedProperty.

        Parameters:
        matchedProperty - a Property object.
      • 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:
        toString in class java.lang.Object
      • compareTo

        public int compareTo​(net.anotheria.util.sorter.IComparable anotherObject,
                             int method)
        Specified by:
        compareTo in interface net.anotheria.util.sorter.IComparable