Class ExportFieldConfiguration

java.lang.Object
io.goobi.viewer.model.export.ExportFieldConfiguration

public class ExportFieldConfiguration extends Object
Holds the configuration for a single field in a data export, combining the Solr field name with an optional human-readable display label that falls back to the field name when not set.
  • Constructor Details

    • ExportFieldConfiguration

      public ExportFieldConfiguration(String field)
  • Method Details

    • getField

      public String getField()
    • getLabel

      public String getLabel()
      Returns:
      the display label for this field, or the field name if no label is configured
    • setLabel

      public ExportFieldConfiguration setLabel(String label)
      Parameters:
      label - the display label to use instead of the field name; if null, the field name is used
      Returns:
      this