Interface FilterItem
- All Known Implementing Classes:
AssumptionFilterItem,PeptideFilterItem,ProteinFilterItem,PsmFilterItem
public interface FilterItem
Interface for an item used for filtering.
- Author:
- Marc Vaudel
-
Method Summary
Modifier and TypeMethodDescriptionReturns a description of the item.getName()Returns the name of the item.In case the filter has predefined values, return the possible values, null otherwise.Returns the possible items of this kind.booleanisNumber()Indicates whether the item expects a number as threshold.booleanIndicates whether the item expects a list of modifications to filter on.
-
Method Details
-
getName
String getName()Returns the name of the item.- Returns:
- the name of the item
-
getDescription
String getDescription()Returns a description of the item.- Returns:
- a description of the item
-
getPossibleValues
FilterItem[] getPossibleValues()Returns the possible items of this kind.- Returns:
- the possible items of this kind
-
isNumber
boolean isNumber()Indicates whether the item expects a number as threshold.- Returns:
- a boolean indicating whether the item expects a number as threshold
-
needsModifications
boolean needsModifications()Indicates whether the item expects a list of modifications to filter on.- Returns:
- a boolean indicating whether the item expects a list of modifications to filter on
-
getPossibilities
In case the filter has predefined values, return the possible values, null otherwise.- Returns:
- a list of possible values to select from
-