com.compomics.util.experiment.biology
Class NeutralLoss

java.lang.Object
  extended by com.compomics.util.experiment.personalization.ExperimentObject
      extended by com.compomics.util.experiment.biology.NeutralLoss
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class NeutralLoss
extends ExperimentObject

This class represents a neutral loss.

Author:
marc
See Also:
Serialized Form

Field Summary
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
 java.lang.String name
          The name of the neutral loss
static NeutralLoss NH3
          NH3 loss
 
Constructor Summary
NeutralLoss(java.lang.String name, double mass)
          Constructor for a user defined neutral loss
 
Method Summary
 boolean isSameAs(NeutralLoss anotherNeutralLoss)
          Method indicating whether another neutral loss is the same as the one considered
 
Methods inherited from class com.compomics.util.experiment.personalization.ExperimentObject
addUrParam, getParameterKey, getUrParam
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

H2O

public static final NeutralLoss H2O
H2O loss


NH3

public static final NeutralLoss NH3
NH3 loss


H3PO4

public static final NeutralLoss H3PO4
H3PO4 loss


HPO3

public static final NeutralLoss HPO3
H3PO3 loss


CH4OS

public static final NeutralLoss CH4OS
CH4OS loss


mass

public double mass
The mass lost


name

public java.lang.String name
The name of the neutral loss

Constructor Detail

NeutralLoss

public NeutralLoss(java.lang.String name,
                   double mass)
Constructor for a user defined neutral loss

Parameters:
name - name of the neutral loss
mass - mass of the neutral loss
Method Detail

isSameAs

public boolean isSameAs(NeutralLoss anotherNeutralLoss)
Method indicating whether another neutral loss is the same as the one considered

Parameters:
anotherNeutralLoss - another neutral loss
Returns:
boolean indicating whether the other neutral loss is the same as the one considered


Copyright © 2012. All Rights Reserved.