Class BrowseTerm

java.lang.Object
io.goobi.viewer.model.termbrowsing.BrowseTerm
All Implemented Interfaces:
Serializable

public class BrowseTerm extends Object implements Serializable

BrowseTerm class.

See Also:
  • Constructor Details

    • BrowseTerm

      public BrowseTerm(String term, String sortTerm, de.intranda.metadata.multilanguage.IMetadataValue translations)
      Constructor.
      Parameters:
      term - Raw term.
      sortTerm - Optional sorting term.
      translations - Optional label translations.
  • Method Details

    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getTerm

      public String getTerm()

      Getter for the field term.

      Returns:
      the term
    • getSortTerm

      public String getSortTerm()

      Getter for the field sortTerm.

      Returns:
      the sortTerm
    • getTranslations

      public de.intranda.metadata.multilanguage.IMetadataValue getTranslations()
      Returns:
      the translations
    • addToHitCount

      public void addToHitCount(int num)

      addToHitCount.

      Parameters:
      num - a int.
    • getHitCount

      public long getHitCount()

      Getter for the field hitCount.

      Returns:
      the hitCount
    • setHitCount

      public BrowseTerm setHitCount(long hitCount)
      Parameters:
      hitCount - the hitCount to set
      Returns:
      this
    • getPiList

      public Set<String> getPiList()

      Getter for the field piList.

      Returns:
      the piList