public enum PsmFilterItem extends Enum<PsmFilterItem> implements FilterItem
Enum Constant and Description |
---|
confidence |
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 PsmFilterItem |
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 PsmFilterItem |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PsmFilterItem[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PsmFilterItem confidence
public static final PsmFilterItem validationStatus
public static final PsmFilterItem stared
public final String name
public final String description
public static PsmFilterItem[] values()
for (PsmFilterItem c : PsmFilterItem.values()) System.out.println(c);
public static PsmFilterItem 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 PsmFilterItem 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 © 2018. All rights reserved.