Class BrowseTerm
java.lang.Object
io.goobi.viewer.model.termbrowsing.BrowseTerm
- All Implemented Interfaces:
Serializable
Represents a single term in the alphabetical browsing index, with its display label and hit count.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBrowseTerm(String term, String sortTerm, de.intranda.metadata.multilanguage.IMetadataValue translations) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToHitCount(int num) addToHitCount.booleanlongGetter for the fieldhitCount.Getter for the fieldpiList.Getter for the fieldsortTerm.getTerm()Getter for the fieldterm.de.intranda.metadata.multilanguage.IMetadataValueinthashCode()setHitCount(long hitCount)
-
Constructor Details
-
Method Details
-
hashCode
public int hashCode() -
equals
-
getTerm
Getter for the fieldterm.- Returns:
- the browse term value
-
getSortTerm
Getter for the fieldsortTerm.- Returns:
- the sort key for this browse term, or null if none is set
-
getTranslations
public de.intranda.metadata.multilanguage.IMetadataValue getTranslations() -
addToHitCount
public void addToHitCount(int num) addToHitCount.- Parameters:
num- a int.
-
getHitCount
public long getHitCount()Getter for the fieldhitCount.- Returns:
- the number of index hits for this browse term
-
setHitCount
- Parameters:
hitCount- the number of index hits for this browse term to set- Returns:
- this
-
getPiList
Getter for the fieldpiList.- Returns:
- the set of persistent identifiers associated with this browse term
-