Enum AssumptionFilterItem
java.lang.Object
java.lang.Enum<AssumptionFilterItem>
com.compomics.util.experiment.identification.filtering.items.AssumptionFilterItem
- All Implemented Interfaces:
FilterItem,Serializable,Comparable<AssumptionFilterItem>,java.lang.constant.Constable
Enum of the different items an assumption filter can filter on.
- Author:
- Marc Vaudel
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns a description of the item.static AssumptionFilterItemReturns the item designated by the given name.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.static AssumptionFilterItemReturns the enum constant of this type with the specified name.static AssumptionFilterItem[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
minimalLength
-
maximalLength
-
precrusorMz
-
precrusorRT
-
precrusorCharge
-
precrusorMzErrorDa
-
precrusorMzErrorPpm
-
precrusorMzErrorStat
-
ptm
-
sequenceCoverage
-
algorithmScore
-
confidence
-
validationStatus
-
stared
-
-
Field Details
-
name
The name of the filtering item. -
description
The description of the filtering item.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getItem
Returns the item designated by the given name.- Parameters:
itemName- the name of the item of interest- Returns:
- the item of interest
-
getName
Description copied from interface:FilterItemReturns the name of the item.- Specified by:
getNamein interfaceFilterItem- Returns:
- the name of the item
-
getDescription
Description copied from interface:FilterItemReturns a description of the item.- Specified by:
getDescriptionin interfaceFilterItem- Returns:
- a description of the item
-
getPossibleValues
Description copied from interface:FilterItemReturns the possible items of this kind.- Specified by:
getPossibleValuesin interfaceFilterItem- Returns:
- the possible items of this kind
-
isNumber
public boolean isNumber()Description copied from interface:FilterItemIndicates whether the item expects a number as threshold.- Specified by:
isNumberin interfaceFilterItem- Returns:
- a boolean indicating whether the item expects a number as threshold
-
getPossibilities
Description copied from interface:FilterItemIn case the filter has predefined values, return the possible values, null otherwise.- Specified by:
getPossibilitiesin interfaceFilterItem- Returns:
- a list of possible values to select from
-
needsModifications
public boolean needsModifications()Description copied from interface:FilterItemIndicates whether the item expects a list of modifications to filter on.- Specified by:
needsModificationsin interfaceFilterItem- Returns:
- a boolean indicating whether the item expects a list of modifications to filter on
-