Class CollectionResult

java.lang.Object
io.goobi.viewer.model.search.CollectionResult
All Implemented Interfaces:
Serializable

public class CollectionResult extends Object implements Serializable
Author:
Florian Alpers
See Also:
  • Constructor Details

    • CollectionResult

      public CollectionResult(String name)
    • CollectionResult

      public CollectionResult(String name, long recordCount)
      Parameters:
      name - collection name (Solr field value)
      recordCount - number of records in this collection
  • Method Details

    • getFacetValues

      public Set<String> getFacetValues()
    • setFacetValues

      public void setFacetValues(Set<String> facetValues)
    • getCount

      public Long getCount()
    • setCount

      public void setCount(Long count)
    • getName

      public String getName()
    • incrementCount

      public void incrementCount(long l)
    • getChildCount

      public Long getChildCount()
    • setChildCount

      public void setChildCount(Long count)
    • incrementChildCount

      public void incrementChildCount(long l)
    • addFacetValues

      public void addFacetValues(Collection<Object> fieldValues)
      Parameters:
      fieldValues - collection of facet values to add to this result