public class NeutralLoss extends ExperimentObject
Modifier and Type | Field and Description |
---|---|
static NeutralLoss |
CH4OS
CH4OS loss.
|
static NeutralLoss |
H2O
H2O loss.
|
static NeutralLoss |
H3PO4
H3PO4 loss.
|
static NeutralLoss |
HPO3
H3PO3 loss.
|
double |
mass
The mass lost.
|
String |
name
The name of the neutral loss.
|
static NeutralLoss |
NH3
NH3 loss.
|
Constructor and Description |
---|
NeutralLoss(String name,
double mass,
boolean fixed)
Constructor for a user defined neutral loss.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isFixed()
Returns a boolean indicating whether the neutral loss is fixed or not.
|
boolean |
isSameAs(NeutralLoss anotherNeutralLoss)
Method indicating whether another neutral loss is the same as the one
considered.
|
void |
setFixed(boolean fixed)
Sets whether the loss is fixed or not.
|
addUrParam, getParameterKey, getUrParam
public static final NeutralLoss H2O
public static final NeutralLoss NH3
public static final NeutralLoss H3PO4
public static final NeutralLoss HPO3
public static final NeutralLoss CH4OS
public double mass
public String name
public NeutralLoss(String name, double mass, boolean fixed)
name
- name of the neutral lossmass
- mass of the neutral lossfixed
- is the neutral loss fixed or notpublic boolean isSameAs(NeutralLoss anotherNeutralLoss)
anotherNeutralLoss
- another neutral losspublic boolean isFixed()
public void setFixed(boolean fixed)
fixed
- a boolean indicating whether the loss is fixed or notCopyright © 2013. All Rights Reserved.