Class QueryModel


  • public class QueryModel
    extends java.lang.Object
    Represents a simple query object that will contain the search text string and the expected results count returned by that query
    • Constructor Summary

      Constructors 
      Constructor Description
      QueryModel()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getResults()  
      java.lang.String getValue()  
      void setResults​(long results)  
      void setValue​(java.lang.String value)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • QueryModel

        public QueryModel()
    • Method Detail

      • getValue

        public java.lang.String getValue()
      • setValue

        public void setValue​(java.lang.String value)
      • getResults

        public long getResults()
      • setResults

        public void setResults​(long results)
      • toString

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