public enum PeptideFilterItem extends Enum<PeptideFilterItem> implements FilterItem
Enum Constant and Description |
---|
confidence |
modification |
nConfidentPSMs |
nPSMs |
nValidatedPSMs |
proteinAccession |
proteinDescription |
proteinInference |
sequence |
stared |
validationStatus |
Modifier and Type | Field and Description |
---|---|
String |
description
The description of the filtering item.
|
String |
name
The name of the filtering item.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Returns a description of the item.
|
static PeptideFilterItem |
getItem(String itemName)
Returns the item designated by the given name.
|
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.
|
static PeptideFilterItem |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PeptideFilterItem[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PeptideFilterItem proteinAccession
public static final PeptideFilterItem proteinDescription
public static final PeptideFilterItem sequence
public static final PeptideFilterItem modification
public static final PeptideFilterItem nPSMs
public static final PeptideFilterItem nValidatedPSMs
public static final PeptideFilterItem nConfidentPSMs
public static final PeptideFilterItem confidence
public static final PeptideFilterItem proteinInference
public static final PeptideFilterItem validationStatus
public static final PeptideFilterItem stared
public final String name
public final String description
public static PeptideFilterItem[] values()
for (PeptideFilterItem c : PeptideFilterItem.values()) System.out.println(c);
public static PeptideFilterItem valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static PeptideFilterItem getItem(String itemName)
itemName
- the name of the item of interestpublic String getName()
FilterItem
getName
in interface FilterItem
public String getDescription()
FilterItem
getDescription
in interface FilterItem
public FilterItem[] getPossibleValues()
FilterItem
getPossibleValues
in interface FilterItem
public boolean isNumber()
FilterItem
isNumber
in interface FilterItem
public ArrayList<String> getPossibilities()
FilterItem
getPossibilities
in interface FilterItem
public boolean needsModifications()
FilterItem
needsModifications
in interface FilterItem
Copyright © 2021. All rights reserved.