Class AdvancedSearchFieldConfiguration

java.lang.Object
io.goobi.viewer.model.search.AdvancedSearchFieldConfiguration

public class AdvancedSearchFieldConfiguration extends Object
Configuration element for advanced search fields.
  • Field Details

  • Constructor Details

    • AdvancedSearchFieldConfiguration

      public AdvancedSearchFieldConfiguration(String field)
      Parameters:
      field - Solr field name or separate placeholder
  • Method Details

    • getField

      public String getField()
      Returns:
      the field
    • getLabel

      public String getLabel()
      Returns:
      the label
    • setLabel

      public AdvancedSearchFieldConfiguration setLabel(String label)
      Parameters:
      label - the label to set
      Returns:
      this object
    • isHierarchical

      public boolean isHierarchical()
      Returns:
      the hierarchical
    • setHierarchical

      public AdvancedSearchFieldConfiguration setHierarchical(boolean hierarchical)
      Parameters:
      hierarchical - the hierarchical to set
      Returns:
      this object
    • isRange

      public boolean isRange()
      Returns:
      the range
    • setRange

      public AdvancedSearchFieldConfiguration setRange(boolean range)
      Parameters:
      range - the range to set
      Returns:
      this object
    • isUntokenizeForPhraseSearch

      public boolean isUntokenizeForPhraseSearch()
      Returns:
      the untokenizeForPhraseSearch
    • setUntokenizeForPhraseSearch

      public AdvancedSearchFieldConfiguration setUntokenizeForPhraseSearch(boolean untokenizeForPhraseSearch)
      Parameters:
      untokenizeForPhraseSearch - the untokenizeForPhraseSearch to set
      Returns:
      this object
    • isDisabled

      public boolean isDisabled()
      Returns:
      the disabled
    • setDisabled

      public AdvancedSearchFieldConfiguration setDisabled(boolean disabled)
      Parameters:
      disabled - the disabled to set
      Returns:
      this object
    • isVisible

      public boolean isVisible()
      Returns:
      the visible
    • setVisible

      public AdvancedSearchFieldConfiguration setVisible(boolean visible)
      Parameters:
      visible - the visible to set
      Returns:
      this
    • getDisplaySelectItemsThreshold

      public int getDisplaySelectItemsThreshold()
      Returns:
      the displaySelectItemsThreshold
    • setDisplaySelectItemsThreshold

      public AdvancedSearchFieldConfiguration setDisplaySelectItemsThreshold(int displaySelectItemsThreshold)
      Parameters:
      displaySelectItemsThreshold - the displaySelectItemsThreshold to set
      Returns:
      this
    • getSelectType

      public String getSelectType()
      Returns:
      the selectType
    • setSelectType

      public AdvancedSearchFieldConfiguration setSelectType(String selectType)
      Parameters:
      selectType - the selectType to set
      Returns:
      this
    • getReplaceRegex

      public String getReplaceRegex()
      Returns:
      the replaceRegex
    • setReplaceRegex

      public AdvancedSearchFieldConfiguration setReplaceRegex(String replaceRegex)
      Parameters:
      replaceRegex - the replaceRegex to set
      Returns:
      this
    • getReplaceWith

      public String getReplaceWith()
      Returns:
      the replaceWith
    • setReplaceWith

      public AdvancedSearchFieldConfiguration setReplaceWith(String replaceWith)
      Parameters:
      replaceWith - the replaceWith to set
      Returns:
      this