public class ElementaryIon extends Ion
Ion.IonType| Modifier and Type | Field and Description |
|---|---|
static ElementaryIon |
proton
A proton.
|
static int |
PROTON
Subtype int for a proton.
|
theoreticMass, type| Constructor and Description |
|---|
ElementaryIon(String name,
double theoreticMass,
int subType)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the name of the ion.
|
ArrayList<NeutralLoss> |
getNeutralLosses()
Returns the possible neutral losses of this ion type.
|
static ArrayList<Integer> |
getPossibleSubtypes()
Returns an arraylist of possible subtypes.
|
CvTerm |
getPrideCvTerm()
Returns the pride cv term adapted to the fragment ion.
|
int |
getSubType()
Returns the ion subtype.
|
String |
getSubTypeAsString()
Returns the subtype as string.
|
boolean |
isSameAs(Ion anotherIon)
Returns a boolean indicating whether the ion is the same as another ion.
|
getGenericIon, getGenericIon, getImplementedIonTypes, getNeutralLossesAsString, getNeutralLossesAsString, getPossibleSubtypes, getTheoreticMass, getTheoreticMz, getType, getTypeAsString, getTypeAsString, setTheoreticMassaddUrParam, getParameterKey, getUrParampublic static final int PROTON
public static final ElementaryIon proton
public ElementaryIon(String name, double theoreticMass, int subType)
name - the name of the iontheoreticMass - the theoretic mass of the ionsubType - the subtype indexpublic String getName()
Ionpublic CvTerm getPrideCvTerm()
IongetPrideCvTerm in class Ionpublic int getSubType()
IongetSubType in class Ionpublic String getSubTypeAsString()
IongetSubTypeAsString in class Ionpublic static ArrayList<Integer> getPossibleSubtypes()
public ArrayList<NeutralLoss> getNeutralLosses()
IongetNeutralLosses in class IonCopyright © 2014. All rights reserved.