Class SearchEntry

    • Constructor Detail

      • SearchEntry

        protected SearchEntry​(String name,
                              IMultilingualText displayText,
                              double maxScore,
                              boolean exposedAsWebservice)
    • Method Detail

      • getScore

        public double getScore()
        Description copied from interface: ISearchEntry
        The score function represents the match value of the decisiontree. A higher value indicates a better match then a lower value. A value of 100.0 means the match is exact. While 0.0 means no match at all.
        Specified by:
        getScore in interface ISearchEntry
        Returns:
        A score value ranging from 0.0 to 100.0
      • getTreeDescription

        public IMultilingualText getTreeDescription()
        Description copied from interface: ISearchEntry
        The display text of the decision tree which is ready for display.
        Specified by:
        getTreeDescription in interface ISearchEntry
        Returns:
        A MultiLingualText for the decision-tree. Which is never null
      • getTreeName

        public String getTreeName()
        Description copied from interface: ISearchEntry
        Returns the decision tree name for the entry.
        Specified by:
        getTreeName in interface ISearchEntry
        Returns:
        A string holding the name of the Decision Tree.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object