Class SearchResult

java.lang.Object
nl.knaw.dans.lib.dataverse.model.search.SearchResult

public class SearchResult extends Object
  • Constructor Details

    • SearchResult

      public SearchResult()
    • SearchResult

      public SearchResult(String q, int totalCount, int start, Map<String,String> spellingAlternatives, List<ResultItem> items, int countInResponse)
  • Method Details

    • getQ

      public String getQ()
    • getTotalCount

      public int getTotalCount()
    • getStart

      public int getStart()
    • getSpellingAlternatives

      public Map<String,String> getSpellingAlternatives()
    • getItems

      public List<ResultItem> getItems()
    • getCountInResponse

      public int getCountInResponse()
    • setQ

      public void setQ(String q)
    • setTotalCount

      public void setTotalCount(int totalCount)
    • setStart

      public void setStart(int start)
    • setSpellingAlternatives

      public void setSpellingAlternatives(Map<String,String> spellingAlternatives)
    • setItems

      public void setItems(List<ResultItem> items)
    • setCountInResponse

      public void setCountInResponse(int countInResponse)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object