Class InventorySettings

java.lang.Object
ca.phon.app.opgraph.nodes.table.InventorySettings
All Implemented Interfaces:
IgnoreDiacriticsSettings, Cloneable

public class InventorySettings extends Object implements Cloneable, IgnoreDiacriticsSettings
  • Constructor Details

    • InventorySettings

      public InventorySettings()
  • Method Details

    • isAutoGrouping

      public boolean isAutoGrouping()
    • setAutoGrouping

      public void setAutoGrouping(boolean autoGrouping)
    • getAutoGroupingColumn

      public String getAutoGroupingColumn()
    • setAutoGroupingColumn

      public void setAutoGroupingColumn(String autoGroupingColumn)
    • isConfigureAutomatically

      public boolean isConfigureAutomatically()
    • setConfigureAutomatically

      public void setConfigureAutomatically(boolean configureAutomatically)
    • isCaseSensitive

      public boolean isCaseSensitive()
    • setCaseSensitive

      public void setCaseSensitive(boolean caseSensitive)
    • isIgnoreDiacritics

      public boolean isIgnoreDiacritics()
      Specified by:
      isIgnoreDiacritics in interface IgnoreDiacriticsSettings
    • setIgnoreDiacritics

      public void setIgnoreDiacritics(boolean ignoreDiacritics)
      Specified by:
      setIgnoreDiacritics in interface IgnoreDiacriticsSettings
    • isOnlyOrExcept

      public boolean isOnlyOrExcept()
      Selection mode when ignoring diacritics. If true selection mode will be 'Only' if false selection mode will b 'Except'. This setting is related to the selected diacritics.
      Specified by:
      isOnlyOrExcept in interface IgnoreDiacriticsSettings
      Returns:
      diacritic filtering mode
    • setOnlyOrExcept

      public void setOnlyOrExcept(boolean onlyOrExcept)
      Specified by:
      setOnlyOrExcept in interface IgnoreDiacriticsSettings
    • getSelectedDiacritics

      public Collection<Diacritic> getSelectedDiacritics()
      Diacritics selected for filtering. The behaviour is determined by the onlyOrExcept paramter.
      Specified by:
      getSelectedDiacritics in interface IgnoreDiacriticsSettings
      Returns:
      selected diacritics
    • setSelectedDiacritics

      public void setSelectedDiacritics(Collection<Diacritic> selectedDiacritics)
      Specified by:
      setSelectedDiacritics in interface IgnoreDiacriticsSettings
    • isIncludeMetadata

      public boolean isIncludeMetadata()
    • setIncludeMetadata

      public void setIncludeMetadata(boolean includeMetadata)
    • isIncludeAdditionalGroupData

      public boolean isIncludeAdditionalGroupData()
    • setIncludeAdditionalGroupData

      public void setIncludeAdditionalGroupData(boolean includeAdditionalGroupData)
    • isIncludeAdditionalWordData

      public boolean isIncludeAdditionalWordData()
    • setIncludeAdditionalWordData

      public void setIncludeAdditionalWordData(boolean includeAdditionalWordData)
    • getGroupBy

      public InventorySettings.ColumnInfo getGroupBy()
    • setGroupBy

      public void setGroupBy(InventorySettings.ColumnInfo info)
    • getColumns

      public List<InventorySettings.ColumnInfo> getColumns()
    • clearColumns

      public void clearColumns()
    • removeColumn

      public void removeColumn(InventorySettings.ColumnInfo info)
    • removeColumn

      public void removeColumn(int idx)
    • addColumn

      public InventorySettings.ColumnInfo addColumn(String col, boolean caseSensitive, boolean ignoreDiacritics)
    • addColumn

      public void addColumn(InventorySettings.ColumnInfo info)
    • getSumColumns

      public List<String> getSumColumns()
    • clearSumColumns

      public void clearSumColumns()
    • removeSumColumn

      public boolean removeSumColumn(String col)
    • removeSumColumn

      public String removeSumColumn(int col)
    • addSumColumn

      public void addSumColumn(String sumColumn)
    • clone

      public Object clone()
      Overrides:
      clone in class Object