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 Type Method Description String
getDescription()
Returns a description of the item.String
getName()
Returns the name of the item.ArrayList<String>
getPossibilities()
In case the filter has predefined values, return the possible values, null otherwise.FilterItem[]
getPossibleValues()
Returns the possible items of this kind.boolean
isNumber()
Indicates whether the item expects a number as threshold.boolean
needsModifications()
Indicates 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
-