Class Match


  • public class Match
    extends java.lang.Object
    Represents a search match, allowing some additional feedback to the user. A node for example can be found either by label, category, ip address or asset field. The SearchResultItem however may represent the same node. For the user however it would be useful which criteria of the node actually matched the search input query. A Match allows to do that.
    Author:
    mvrueden
    • Constructor Summary

      Constructors 
      Constructor Description
      Match()  
      Match​(java.lang.String id, java.lang.String label, java.lang.String value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getId()  
      java.lang.String getLabel()  
      java.lang.String getValue()  
      void setId​(java.lang.String id)  
      void setLabel​(java.lang.String label)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Match

        public Match()
      • Match

        public Match​(java.lang.String id,
                     java.lang.String label,
                     java.lang.String value)
    • Method Detail

      • getId

        public java.lang.String getId()
      • setId

        public void setId​(java.lang.String id)
      • getLabel

        public java.lang.String getLabel()
      • setLabel

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

        public java.lang.String getValue()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object