Class SearchResultItem


  • public class SearchResultItem
    extends java.lang.Object
    Each SearchResult contains 0 to n SearchResultItems which represent an item for the context, e.g. a Node, or Action.
    Author:
    mvrueden
    • Constructor Detail

      • SearchResultItem

        public SearchResultItem()
    • Method Detail

      • getIdentifier

        public java.lang.String getIdentifier()
      • setIdentifier

        public void setIdentifier​(java.lang.String identifier)
      • getLabel

        public java.lang.String getLabel()
      • setLabel

        public void setLabel​(java.lang.String label)
      • getUrl

        public java.lang.String getUrl()
      • setUrl

        public void setUrl​(java.lang.String url)
      • getIcon

        public java.lang.String getIcon()
      • setIcon

        public void setIcon​(java.lang.String icon)
      • setProperties

        public void setProperties​(java.util.Map<java.lang.String,​java.lang.String> properties)
      • getProperties

        public java.util.Map<java.lang.String,​java.lang.String> getProperties()
      • getMatches

        public java.util.List<Match> getMatches()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • addMatch

        public void addMatch​(Match match)
      • addMatches

        public void addMatches​(java.util.List<Matcher> matcherList,
                               java.lang.String input)
      • setWeight

        public void setWeight​(int weight)
      • getWeight

        public int getWeight()
      • setInfo

        public void setInfo​(java.lang.String info)
      • getInfo

        public java.lang.String getInfo()